aboutsummaryrefslogtreecommitdiff
path: root/layouts
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
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 'layouts')
-rw-r--r--layouts/_default/baseof.html1
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/header.html14
-rw-r--r--layouts/partials/postlist.html22
5 files changed, 22 insertions, 21 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 410e2bc..0c72fb1 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -6,6 +6,5 @@
<main>
{{ block "main" . }}{{ end }}
</main>
- {{- partial "footer.html" . -}}
</body>
</html>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7a85a05..da0a3e5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,9 +13,9 @@
{{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}}
{{ end -}}
{{ if eq $pub $mod }}
- <div id="meta_date">published {{ $pub }}</div>
+ <div id="meta_date">posted on {{ $pub }}</div>
{{ else }}
- <div id="meta_date">published {{ $pub }} - last modified {{ $mod }}</div>
+ <div id="meta_date">posted on {{ $pub }} - last modified {{ $mod }}</div>
{{ end }}
{{ if .Params.tags }}
<div>
diff --git a/layouts/index.html b/layouts/index.html
index 494239b..4ac472d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,6 +6,8 @@
<p>My general interests are in building sustainable teams, improving the management and operation of large infrastructure, and work with different teams to implement best practices around reliability and security.</p>
+ <p>You can reach out to me at <a href="mailto:franck@fcuny.net" title="franck@fcuny.net">franck@fcuny.net</a>.</p>
+
</article>
{{ end }}
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>