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