mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-16 23:12:45 +02:00
remove brand on single pages; remove fa; others
This commit is contained in:
parent
6760f0cb6b
commit
cc8175f38b
9 changed files with 34 additions and 74 deletions
layouts/partials
|
@ -2,9 +2,9 @@
|
|||
|
||||
<h1 class="content-title">
|
||||
{{ if .IsNode }}
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ .Title }}
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} :: Draft {{end}}</a>
|
||||
{{ .Title }}{{ if .Draft }} :: Draft {{end}}
|
||||
{{ end }}
|
||||
</h1>
|
||||
|
||||
|
@ -16,23 +16,19 @@
|
|||
{{ if or (eq .Type "post") (.Params.meta) }}
|
||||
<span class="content-meta">
|
||||
{{ if .Params.author }}
|
||||
<i class="fa fa-user"> </i><span class="author">
|
||||
{{ .Params.author }}</span> <br>
|
||||
<span class="author">{{ .Params.author }}</span><br />
|
||||
{{ end }}
|
||||
|
||||
{{ if not .Params.hidedate }}
|
||||
<i class="fa fa-calendar"></i>
|
||||
{{ .Date.Format "Jan 2, 2006" }}
|
||||
{{ .Date.Format "2006-01-02" }}
|
||||
{{end }}
|
||||
|
||||
{{ if not .Params.hidereadtime }}
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{ .ReadingTime }} min read
|
||||
{{ .ReadingTime }} min read
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.categories }}
|
||||
<br>
|
||||
<i class="fa fa-tags"> </i>
|
||||
{{ range .Params.categories }}
|
||||
<a href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue