diff options
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index dda9d29..2d1d3b2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@ {{ partial "tags" .Params.tags }} {{ end }} </div> - <h2 class="subtitle is-6">{{ .Date.Format "January 2, 2006" }}</h2> + {{if not .Date.IsZero }}<h2 class="subtitle is-6">{{ .Date.Format "January 2, 2006" }}</h2>{{ end }} <h1 class="title">{{ .Title }}</h1> {{ if and (.Site.Params.Info.adsense) (.Params.adsenseTop) }} {{ partial "adsense" . }} @@ -24,4 +24,4 @@ </div> </section> {{ partial "disqus" . }} -{{ partial "footer" . }}
\ No newline at end of file +{{ partial "footer" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9c6691c..76fbbf6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -11,7 +11,7 @@ {{ if .Site.Params.Info.enableSocial }} {{- partial "social/opengraph" . -}} {{ end }} -<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css"/> +<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"/> {{- range .Site.Params.Assets.customCSS -}} <link rel='stylesheet' href='{{ . | relURL }}'> {{- end -}} |