Create byline class
This commit is contained in:
parent
88edea7e8a
commit
fc8583e445
@ -146,6 +146,10 @@ h3.blog-filter {
|
|||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.byline {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
/* "Skip to main content" link */
|
/* "Skip to main content" link */
|
||||||
.skip-link {
|
.skip-link {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ if not .Params.menu }}
|
{{ if not .Params.menu }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<p>
|
<p class="byline">
|
||||||
<i>
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
||||||
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
|
||||||
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
|
</time>
|
||||||
</time>
|
{{ with .Params.author }}· {{.}}{{ end }}
|
||||||
{{ with .Params.author }}· {{.}}{{ end }}
|
|
||||||
</i>
|
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<content>
|
<content>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user