From d481251d4148a9e90cf71aa1c11a8f8e077336a4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 3 Jul 2024 16:32:51 -0700 Subject: some more cleanup --- layouts/_default/baseof.html | 4 +-- layouts/_default/single.html | 36 ++++++++++++------------- layouts/index.html | 64 ++++++++++++++++++++++++++++++-------------- layouts/partials/head.html | 23 +++++++++++----- 4 files changed, 78 insertions(+), 49 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6406b4e..b2fbbc1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,8 +2,6 @@ {{ partial "head.html" . }} -
- {{ block "main" . }}{{ end }} -
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a360c93..2919b8f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,30 +1,28 @@ {{ define "main" }}
+

{{ .Title }}

-

{{ .Title }}

+
+ {{- $pub := .Date.Format "Jan 2, 2006" -}} + {{- $mod := "" -}} -
- {{- $pub := .Date.Format "Jan 2, 2006" -}} - {{- $mod := "" -}} - {{- if (not .GitInfo) }} - {{- $mod = .Lastmod.Format "Jan 2, 2006" -}} - {{ else }} - {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}} - {{ end -}} - {{ if eq $pub $mod }} - posted on {{ $pub }} - {{ else }} - posted on {{ $pub }} - last modified {{ $mod }} - {{ end }} -
+ {{- if (not .GitInfo) }} + {{- $mod = .Lastmod.Format "Jan 2, 2006" -}} + {{ else }} + {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}} + {{ end -}} -
-{{ .Content }} -
+ {{ if eq $pub $mod }} + posted on {{ $pub }} + {{ else }} + posted on {{ $pub }} - last modified {{ $mod }} + {{ end }} +
-↑ back home +
{{ .Content }}
+ ↑ back home
{{ end }} diff --git a/layouts/index.html b/layouts/index.html index e93f139..cbf00cc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,27 +2,49 @@

My name is Franck Cuny and this is my little corner on the web.

-

I currently work as a Site Reliability Engineer (SRE) at Roblox. Previously I worked as a SRE at Twitter, and my focus was on the infrastructure.

+

+ I currently work as a + Site Reliability Engineer + (SRE) at Roblox. + Previously I worked as a SRE at + Twitter, and my + focus was on the infrastructure. +

-

I'm interested in building sustainable teams, improving the management and operation of large infrastructure, and to work with different teams to implement best practices around reliability and security.

+

+ I'm interested in building sustainable teams, improving the management and + operation of large infrastructure, and to work with different teams to + implement best practices around reliability and security. +

Articles

@@ -30,14 +52,16 @@
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 39ef8aa..1fa0b42 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,16 +1,25 @@ - + - + - {{ $css := "/css/custom.css" }} - - + {{ $css := "/css/custom.css" }} {{ $feed := "/feed.xml" }} + + + - - + + {{ .Title }} -- cgit v1.2.3