diff options
| -rw-r--r-- | layouts/_default/list.html | 4 | ||||
| -rw-r--r-- | layouts/_default/single.html | 4 | ||||
| -rw-r--r-- | layouts/index.html | 3 | ||||
| -rw-r--r-- | layouts/partials/header.html | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b7cef4a..90cf0ae 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,8 +4,8 @@ <h1 class="list-title">{{ .Title }}</h1> {{ range .Data.Pages }} <article itemscope itemtype="http://schema.org/Blog"> - <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} #Draft{{ end }}</a></h2> - <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span> + <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2> + <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span> </article> {{ end }} </main> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6aadea7..431e193 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,11 +3,11 @@ <main role="main"> <article itemscope itemtype="http://schema.org/BlogPosting"> <h1 class="entry-title" itemprop="headline">{{ .Title }}</h1> - <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span> + <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span> <section itemprop="entry-text"> {{ .Content }} </section> </article> </main> -{{ partial "footer.html" . }}
\ No newline at end of file +{{ partial "footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html index 1935813..a3594e6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,10 +1,11 @@ {{ partial "header.html" . }} <main role="main"> + <h1 class="list-title">Tech</h1> {{ range (where .Data.Pages ".Section" "==" "tech") }} <article itemscope itemtype="http://schema.org/Blog"> <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2> - <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span> + <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span> </article> {{ end }} </main> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1881eff..1cd31d2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -16,7 +16,7 @@ <div class="header-logo"> <a href="/"><img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"></a> </div> - {{ if eq $isHomePage true }}<h1 class="site-title">{{ .Site.Title }}</h1>{{ end }} + <h1 class="site-title">{{ .Site.Title }}</h1> </header> <div class="container"> <div class="row"> |
