danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various fixes, added pagination and articles prev/next links.
[theme-danix.xyz.git]
/
layouts
/
post
/
single-baseof.html
diff --git
a/layouts/post/single-baseof.html
b/layouts/post/single-baseof.html
index
dc44481
..
d75dd0f
100644
(file)
--- a/
layouts/post/single-baseof.html
+++ b/
layouts/post/single-baseof.html
@@
-1,19
+1,38
@@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}">
{{- partial "head.html" . -}}
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}">
{{- partial "head.html" . -}}
- <body class="
page home
">
- <
div id="page"
>
-
<a id="top" class="skip-link screen-reader-text" href="#primary">skip to content</a
>
+ <body class="
article is-preload
">
+ <
a id="top" class="skip-link screen-reader-text" href="#primary">skip to content</a
>
+
<div id="wrapper"
>
{{- partial "header.html" . -}}
{{- partial "header.html" . -}}
- {{- partial "breadcrumbs.html" . -}}
- <div id="content" class="site-content">
- <div id="primary" class="content-area">
- <main id="main" class="site-main">
- {{- block "page-main" . }}{{- end }}
- </main>
+
+ <section id="banner" class="major">
+ <div class="inner">
+ <header class="major">
+ <h1>{{ .Title }}</h1>
+ </header>
+ <div class="content">
+ <p>{{ .Params.excerpt }}</p>
+ </div>
</div>
</div>
+ </section>
+
+ <div id="main">
+ <section id="one">
+ <div class="inner">
+ {{- partial "breadcrumbs.html" . -}}
+ {{- partial "prev-next.html" . -}}
+ </div>
+ </section>
+ <section id="two">
+ {{- block "article-main" . }}{{- end }}
+ </section>
+ <section id="three">
+ <div class="inner">articoli correlati</div>
+ </section>
</div>
{{- partial "footer.html" . -}}
</div>
</div>
{{- partial "footer.html" . -}}
</div>
+ {{- partial "footer-addition.html" . -}}
</body>
</html>
</body>
</html>