aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-29 12:49:19 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-29 12:49:19 -0700
commitdc8cf9429bac11160d6c9727d363468c2adce8a3 (patch)
tree6e4489af5167e5f2de16f737f810acfab46e3a84 /layouts/partials
parentref: update humans.txt (diff)
downloadfcuny.net-dc8cf9429bac11160d6c9727d363468c2adce8a3.tar.gz
ref(style): simplify further the style of the site
Get rid of the footer and the icons. Set a light background color, and simplified the listing of the pages.
Diffstat (limited to '')
-rw-r--r--layouts/partials/header.html14
-rw-r--r--layouts/partials/postlist.html22
2 files changed, 18 insertions, 18 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index f34d372..580ce04 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,10 +1,12 @@
<header>
<nav class="navbar">
- <a class="nav-bold" href="{{ .Site.BaseURL }}">~/</a>
- <ul class="nav-links">
- {{ range .Site.Menus.main }}
- <li class="nav-item"><a class="nav-bold" href="{{ absURL .URL }}">{{ .Title }}</a></li>
- {{ end }}
- </ul>
+ <h2><a rel="author" href="{{ .Site.BaseURL }}">franck cuny</a></h2>
+ {{ range .Site.Menus.main }}
+ <a class="nav-bold" href="{{ absURL .URL }}">{{ .Title }}</a>
+ <span class="bar">|</span>
+ {{ end }}
+ <a class="nav-bold" href="https://github.com/fcuny" title="github" target="_blank">github</a>
+ <span class="bar">|</span>
+ <a class="nav-bold" href="/feed.xml" title="atom feed">feed</a>
</nav>
</header>
diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html
index 3d5cf04..575f0b8 100644
--- a/layouts/partials/postlist.html
+++ b/layouts/partials/postlist.html
@@ -1,12 +1,10 @@
-{{ range .GroupByDate "2006" }}
- <h2>{{ .Key }}</h2>
- <ul>
- {{ range .Pages.ByDate.Reverse }}
- <li>
- <div>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </div>
- </li>
- {{ end }}
- </ul>
-{{ end }}
+<ul class="list-content">
+ {{ range .GroupByDate "2006" }}
+ {{ range .Pages.ByDate.Reverse }}
+ <li>
+ <span class="content-title"><strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong></span>
+ <span class="content-date"><em>posted on {{ .Date.Format "Jan 2, 2006" }}</em></span>
+ </li>
+ {{ end }}
+ {{ end }}
+</ul>