+
+
-
- {{ $section := .Paginate (where .Data.Pages "Section" .Section) }}
-
- {{ range sort $section.Pages "Date" "desc" }}
- {{ partial "summary.html" . }}
- {{ end }}
-
+
{{ .Content }}
-
{{ .Content }}
+ {{ $section := where .Data.Pages "Section" .Section }}
+
+ {{ range $section }}
+ {{ partial "summary.html" . }}
+ {{ end }}
+
{{ template "_internal/pagination.html" . }}
-
+
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9439017..d43dfec 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,45 +1,18 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
-{{ $currentPageUrl := .URL }}
-{{ $currentSection := (where .Site.Pages "Section" .Section) }}
-
-
-
-
-
-
-
+ {{ partial "menu-contextual.html" . }}
+
{{ end }}
diff --git a/layouts/article/summary.html b/layouts/article/summary.html
index 02cd366..b57becd 100644
--- a/layouts/article/summary.html
+++ b/layouts/article/summary.html
@@ -1,24 +1,19 @@
- {{ humanize .Section | upper }} -
-- {{ .Title }} -
-
+ {{ $currentPageUrl := .URL }}
+
+
+
+
-
-
-357edd
-
-
+ + {{ humanize .Section | upper }} +
++ {{ .Title }} +
+
{{ .Content }}
-
-
-
diff --git a/layouts/index.html b/layouts/index.html
index 8ba9f56..26c605f 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,21 +3,27 @@
+
+
+
-
- {{ range sort $section.Pages "Date" "desc" }}
+ {{ range $section.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ $section := where .Data.Pages "Section" "article" }}
-
+
{{ range sort (first 1 $section) "Date" "desc" }}
- {{ .Render "summary" }}
- {{ end }}
+
-
+
{{ range sort (first 2 (after 1 $section)) "Date" "desc" }}
- {{ .Render "summary" }}
+
+
+
+
+
{{ end }}
diff --git a/layouts/partials/menu-contextual.html b/layouts/partials/menu-contextual.html
new file mode 100644
index 0000000..be127ec
--- /dev/null
+++ b/layouts/partials/menu-contextual.html
@@ -0,0 +1,15 @@
+{{ $currentSection := (where .Site.Pages "Section" .Section) }}
+
diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html
index ea51f38..723982a 100644
--- a/layouts/partials/site-navigation.html
+++ b/layouts/partials/site-navigation.html
@@ -1,6 +1,5 @@
diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html
index 69e75e5..9c808aa 100644
--- a/layouts/partials/summary.html
+++ b/layouts/partials/summary.html
@@ -1,20 +1,14 @@
{{ .Title }}
+ {{ end }}{{ .Title }}
{{ end }}
-
diff --git a/layouts/robots.txt b/layouts/robots.txt
index 25b9e9a..6bbb8e2 100644
--- a/layouts/robots.txt
+++ b/layouts/robots.txt
@@ -1,7 +1,6 @@
User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.
{{ if eq (getenv "HUGO_ENV") "production" }}
- Disallow: admin/
Disallow:
{{ else }}
Disallow: /
diff --git a/layouts/section/article.html b/layouts/section/article.html
index eb651f2..09446ee 100644
--- a/layouts/section/article.html
+++ b/layouts/section/article.html
@@ -1,13 +1,11 @@
{{ define "main" }}
-
-
-
-
{{ .Title }}
-{{ .Summary }}
{{ .Content }}
-
{{ $section := .Paginate (where .Data.Pages "Section" .Section) }}