Merge branch 'update-theme-urls' into 'master'
Update theme urls See merge request tschwery/blog-hugo!5
This commit is contained in:
commit
ed15bc90c9
3 changed files with 24 additions and 1 deletions
10
layouts/404.html
Normal file
10
layouts/404.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<main role="main">
|
||||
<div>
|
||||
<h1>Page not found</h1>
|
||||
<h2 id="entry-title"><a href="{{ "/" | relURL }}">Go Home</a></h2>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
13
layouts/_default/list.html
Normal file
13
layouts/_default/list.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<main role="main">
|
||||
<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 }}index.html">{{ .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>
|
||||
</article>
|
||||
{{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
|
@ -1 +1 @@
|
|||
Subproject commit 924fcebb10a39fc7d8a29fd202f4a993feb2c6e2
|
||||
Subproject commit cabdacf56b9567da3953bffccdd06ed787aebd0c
|
Loading…
Add table
Reference in a new issue