|
|
@ -32,7 +32,22 @@ |
|
|
|
<meta property="article:published_time" content="{{.Created8601}}"> |
|
|
|
<meta property="article:published_time" content="{{.Created8601}}"> |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
{{if .Collection.StyleSheet}}<style type="text/css">{{.Collection.StyleSheetDisplay}}</style>{{end}} |
|
|
|
{{if .Collection.StyleSheet}}<style type="text/css">{{.Collection.StyleSheetDisplay}}</style>{{end}} |
|
|
|
|
|
|
|
{{/*below css duplicated in part in chorus-collection-post.tmpl*/}} |
|
|
|
|
|
|
|
<style type="text/css"> |
|
|
|
|
|
|
|
body#post header { |
|
|
|
|
|
|
|
padding: 1em 1rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
article time.dt { |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
article time.dt.published { |
|
|
|
|
|
|
|
color: #666; |
|
|
|
|
|
|
|
margin-bottom: 1em; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
body#post article h2#title{ |
|
|
|
|
|
|
|
margin-bottom: 0.5em; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|
{{if .Collection.RenderMathJax}} |
|
|
|
{{if .Collection.RenderMathJax}} |
|
|
|
<!-- Add mathjax logic --> |
|
|
|
<!-- Add mathjax logic --> |
|
|
|
{{template "mathjax" . }} |
|
|
|
{{template "mathjax" . }} |
|
|
@ -59,7 +74,12 @@ |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
|
|
<article id="post-body" class="{{.Font}} h-entry {{if not .IsFound}}error-page{{end}}">{{if .IsScheduled}}<p class="badge">Scheduled</p>{{end}}{{if .Title.String}}<h2 id="title" class="p-name">{{.FormattedDisplayTitle}}</h2>{{end}}<div class="e-content">{{.HTMLContent}}</div></article> |
|
|
|
<article id="post-body" class="{{.Font}} h-entry {{if not .IsFound}}error-page{{end}}"> |
|
|
|
|
|
|
|
{{if .IsScheduled}}<p class="badge">Scheduled</p>{{end}} |
|
|
|
|
|
|
|
{{if .Title.String}}<h2 id="title" class="p-name">{{.FormattedDisplayTitle}}</h2>{{end}} |
|
|
|
|
|
|
|
{{if .ShowDates}}<time class="dt{{if .Title.String}} published{{end}}" datetime="{{.Created}}" pubdate itemprop="datePublished" content="{{.Created}}">{{.DisplayDate}}</time>{{end}} |
|
|
|
|
|
|
|
<div class="e-content">{{.HTMLContent}}</div> |
|
|
|
|
|
|
|
</article> |
|
|
|
|
|
|
|
|
|
|
|
{{ if .Collection.ShowFooterBranding }} |
|
|
|
{{ if .Collection.ShowFooterBranding }} |
|
|
|
<footer dir="ltr"><hr><nav><p style="font-size: 0.9em">{{localhtml "published with write.as" .Language.String}}</p></nav></footer> |
|
|
|
<footer dir="ltr"><hr><nav><p style="font-size: 0.9em">{{localhtml "published with write.as" .Language.String}}</p></nav></footer> |
|
|
|