Add donate section

19c1ffa3871d79b81dc60fce48462e425747afdd
Alexis Sellier committed ago 1 parent b2e045f7
Makefile +1 -1
1 -
PAGES  := popol/
1 +
PAGES  := popol/ donate/
2 2
STATIC := css/ images/ fonts/ js/
3 3
4 4
default:
5 5
	./build ~/txt/pub .
6 6
build +1 -1
53 53
54 54
    header, body = File.read(input).split(/\n\n/, 2)
55 55
    result = header && header.strip.match(/^<!--(.*)-->$/m)
56 56
    meta = result[1] || abort("article #{input} is not well formed")
57 57
58 -
    @body = CommonMarker.render_doc(body, [:FOOTNOTES, :SMART]).to_html
58 +
    @body = CommonMarker.render_doc(body, [:FOOTNOTES, :SMART, :UNSAFE]).to_html(:UNSAFE)
59 59
60 60
    attrs = {}
61 61
    meta.strip.each_line do |l|
62 62
      matches = l.match(/^(\w+)\s*:\s*(.*)$/)
63 63
      attrs[matches[1].downcase.to_sym] = matches[2].chomp
css/base.css +7 -0
291 291
}
292 292
.footnote-ref a, a[rel="footnote"] {
293 293
	margin-left: 0.2rem;
294 294
}
295 295
296 +
img.qr {
297 +
	border: 12px solid white;
298 +
	margin: 0 auto;
299 +
	display: block;
300 +
	margin-bottom: 4rem;
301 +
}
302 +
296 303
/*
297 304
 * MEDIA
298 305
 */
299 306
300 307
@media /* Medium desktop */
donate/qr.png added +0 -0

Binary file changed.