Allow rendering subdirectories as scrolling pages
This commit is contained in:
parent
94a56ac555
commit
d92da3689a
2 changed files with 10 additions and 8 deletions
|
|
@ -2,7 +2,9 @@
|
|||
<main class="content page-template page-{{ .Slug }}">
|
||||
<article class="post page">
|
||||
<header class="post-header">
|
||||
<a id="back-to-main-page" href="{{ "" | relLangURL }}"><i class="fa fa-chevron-left" aria-hidden="true"></i> {{ .Site.Title }}</a>
|
||||
{{ with .Parent }}
|
||||
<a id="back-to-main-page" href="{{ .RelPermalink | relLangURL }}"><i class="fa fa-chevron-left" aria-hidden="true"></i> {{ or .Title .Site.Title }}</a>
|
||||
{{ end }}
|
||||
</header>
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<section class="post-content">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue