theme: some streamlining of the base theme
authorAngeloR <xangelo@gmail.com>
Thu, 12 Dec 2024 16:13:11 +0000 (11:13 -0500)
committerAngeloR <xangelo@gmail.com>
Thu, 12 Dec 2024 16:13:11 +0000 (11:13 -0500)
- removed the category breakdowns
- list the top 15 posts on the main page
- include an archive of all the posts to date
- Embed the "about" section on the home page

themes/brutalist-minimalist/layouts/_default/list.html
themes/brutalist-minimalist/layouts/index.html
themes/brutalist-minimalist/layouts/partials/nav-links.html
themes/brutalist-minimalist/layouts/partials/recent-posts.html

index ec463521983e170aa98be9072f84c44c0ca4190c..17becf76c433fd0ae2e5edf062bfbfd5e9badac3 100644 (file)
@@ -26,6 +26,7 @@
 {{ define "title" }}
 {{.Page.Title}} | {{.Site.Params.siteBasename}}
 {{ end }}
+{{ .Content }}
 {{ define "main" }}
 {{ range .Site.RegularPages.GroupByPublishDate "2006" }}
 <h2>{{- .Key -}}</h2>
index bca1b5aa126ea86b41da7ab99124c3fc05f83985..5c8e1ff14d4660411984625b9cc6524defa5768b 100644 (file)
@@ -27,5 +27,6 @@
 {{ end }}
 {{ define "main" }}
 {{ .Content}}
+<hr>
 {{ partial "recent-posts.html" }}
 {{ end }}
index c91b12d6a998dad7d30351a290c4fa6e43efc4b7..7e03ed6b9197d156b5dffdffb4d0eb207c08651f 100644 (file)
@@ -24,7 +24,6 @@
 */}}
 
 <a href="{{ "/"              | relURL}}">Home</a>
-{{ range .Site.Menus.main }}
-  <a href="{{ .URL | relURL }}">{{ .Name }}</a>
-{{ end }}
+<a href="{{ "/list"          | relURL}}">Archive</a>
+<a href="{{ "/pages/linkblog"          | relURL}}">Linkblog</a>
 <a href="{{ "/index.xml" | relURL }}"><img src="/icons/feed-icon-14x14.png"></a>
index 49ed0d606d7487094ad79632f383af8030968a82..25cae6651c0b0bfad604b3313cc1fb7510c686c7 100644 (file)
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    
 */}}
-{{range first 1 (where site.RegularPages "Type" "in" (slice "feature" "daily")) }}
-<section id="daily-post">
-  {{ with .Site.GetPage "pages/about" }}
-    {{ .Content }}
-  {{ end }}
-</section>
-<hr>
-{{end}}
 <h2>All Recent Posts</h2>
 <ul id="recent-posts">
 {{range first site.Params.blogListLength (where site.RegularPages "Type" "in" "posts") }}