Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/djuelg/Shapez-Theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Juelg <djuelg@gmx.de>2016-05-04 17:20:04 +0300
committerDominik Juelg <djuelg@gmx.de>2016-05-04 17:20:04 +0300
commite1f2864a3cde4c3b0c9c5146bc0b0ba044505d79 (patch)
tree0a91d3742f8434060a07f6ac467f6ccdf7faf035
parent5483d3634dd4ad4f6662d81dee6825382c15c523 (diff)
fixed wrong sort option
-rw-r--r--README.md6
-rw-r--r--themes/dj_blog/layouts/_default/list.html2
-rw-r--r--themes/dj_blog/layouts/index.html2
3 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2841413..42f457c 100644
--- a/README.md
+++ b/README.md
@@ -34,4 +34,8 @@ Furthermore I would like to thank [CrimsonRay](https://github.com/CrimsonRay), t
- Std Frontmatter anpassen
- Ordnerstruktur verschieben
- Credits in Readme und theme.toml
-- add "hideshow" for all browsers \ No newline at end of file
+- add "hideshow" for all browsers
+- Sortierreihenfolgen überdenken
+- durch Klick auf "Last", den letzten Artikel zeigen (automatisch runter scrollen)
+- hover text-layout -> orange
+- Playground: Datum weniger whitespace nach oben \ No newline at end of file
diff --git a/themes/dj_blog/layouts/_default/list.html b/themes/dj_blog/layouts/_default/list.html
index 35b83ed..3d635f3 100644
--- a/themes/dj_blog/layouts/_default/list.html
+++ b/themes/dj_blog/layouts/_default/list.html
@@ -6,7 +6,7 @@
</head>
<body>
<div class="wrapper">
- {{ range .Data.Pages.ByPublishDate }}
+ {{ range .Data.Pages.ByDate.Reverse }}
<div class="top-nav">
<img src="{{ .Site.Params.logo }}">
<h3>{{ .Site.Title }}</h3>
diff --git a/themes/dj_blog/layouts/index.html b/themes/dj_blog/layouts/index.html
index 2ae8f3a..33daca9 100644
--- a/themes/dj_blog/layouts/index.html
+++ b/themes/dj_blog/layouts/index.html
@@ -11,7 +11,7 @@
<div id="scroll-down" class="timeline-container">
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
- {{ range $paginator.Pages }}
+ {{ range $paginator.Pages.ByDate.Reverse }}
<div class="timeline-post">
<div class="publish-date">
</br></br><h3>{{ .Date.Format "02" }}</h3></br>{{ .Date.Format "January" | upper }}