all repos — h3rald @ b26e779a67ddb0e4187d0c75a391b8d5b046f044

The sources of https://h3rald.com

lib/data.glyph

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
--[-------------------- Snippets ------------------------]
&:[G|Glyph]
--[-------------------- Macros --------------------------]
def:[h3rald.article|
	article[
		@head[
			style[pagination.css]
			style[default.css]
      <style>
.halftitlepage {
  margin: auto;
  text-align: center; }


.halftitlepage h1 {
  padding-top: 0;
  font-size: 2em;
  font-weight: normal;
  line-height: 1.2em;
  margin-bottom: 0.2em; }
.halftitlepage h2 {
  padding-top: 0;
  font-style: italic;
  font-size: 1.1em;
  font-weight: normal;
  line-height: 1.2em;
  prince-bookmark-level: none; }

#toc {
  display: none;
}

.author {
  font-size: 1em; }

.pubdate {
  font-size: 0.8em; }

.contents {
  page-break-after: always;
  }

h3.toc, h4.toc, h5.toc {
  font-weight: normal;
  font-size: 150%;
  margin-bottom: 1em;
  margin-top: 1.5em;
}
      </style>
		]
		@pre-title[
			=>[http://www.h3rald.com/archives/|image[@width[25%]@height[25%]$[site.root]/images/logo.svg]]
		]
		@post-title[
			div[em[Originally published on =>[http://www.h3rald.com{{identifier}}|H3RALD.com]]]
			toc[]
		]
		{{content}}
	]
]
def:[pt|
	section[@title[Part {{0}}: {{1}}]
		txt[{{2}}]
	]
]
def:[quote|
	blockquote[
		{{0}}
	]
	?[{{1}}|p[@style[margin-left: 4em]&ndash; {{1}}\/?[{{2}}|, cite[{{2}}]]]]
]
def:[float-img|
	image[@class[{{1}}]$[site.root]{{0}}]
]
def:[float-fig|
	figure[@style[float:{{2}};]$[site.root]{{0}}|{{1}}]
]
def:[left-img|
	float-img[{{0}}|left]
]
def:[right-img|
	float-img[{{0}}|right]
]
def:[center-img|
	float-img[{{0}}|center]
]
def:[left-fig|
	float-fig[{{0}}|{{1}}|left]
]
def:[right-fig|
	float-fig[{{0}}|{{1}}|right]
]
def:[center-fig|
	float-fig[{{0}}|{{1}}|center]
]