Added P52-32 : Folded Notes
This commit is contained in:
parent
ec7e48249d
commit
1909ea34ea
11 changed files with 522 additions and 18 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ range $index, $element := (where .Pages "Section" "post").ByDate.Reverse }}
|
||||
|
||||
{{ $scratch := newScratch }}
|
||||
{{ if .Site.Params.writers }}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ range $index, $element := (where .Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ range $index, $element := (where .Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ index d35bcba..b21219a 100644
|
|||
|
||||
a {
|
||||
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
|
||||
index 6f4d2fa..ce7f656 100644
|
||||
index 6f4d2fa..6a3ec57 100644
|
||||
--- a/layouts/_default/single.html
|
||||
+++ b/layouts/_default/single.html
|
||||
@@ -30,6 +30,22 @@
|
||||
@@ -30,6 +30,25 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -35,8 +35,26 @@ index 6f4d2fa..ce7f656 100644
|
|||
+ {{end}}
|
||||
+ </ul>
|
||||
+ {{end}}
|
||||
+ {{if .NextInSection}}<p>Next: <a href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}}</a></p>{{end}}
|
||||
+ {{if .PrevInSection}}<p>Previous: <a href="{{.PrevInSection.Permalink}}">{{.PrevInSection.Title}}</a></p>{{end}}
|
||||
+
|
||||
</div>
|
||||
|
||||
-{{ end }}
|
||||
\ No newline at end of file
|
||||
+{{ end }}
|
||||
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
|
||||
index e0d0f30..e69de29 100644
|
||||
--- a/layouts/partials/scripts.html
|
||||
+++ b/layouts/partials/scripts.html
|
||||
@@ -1,9 +0,0 @@
|
||||
-{{ "<!-- google analitycs -->" | safeHTML }}
|
||||
-<script>
|
||||
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
- ga('create', '{{ .Site.Params.googleAnalitycsID }}', 'auto');
|
||||
- ga('send', 'pageview');
|
||||
-</script>
|
||||
\ No newline at end of file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue