diff options
Diffstat (limited to '')
| -rw-r--r-- | layouts/_default/baseof.html | 7 | ||||
| -rw-r--r-- | layouts/_default/single.html | 28 | ||||
| -rw-r--r-- | layouts/index.atom.xml | 32 | ||||
| -rw-r--r-- | layouts/index.html | 68 | ||||
| -rw-r--r-- | layouts/partials/head.html | 25 |
5 files changed, 0 insertions, 160 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index b2fbbc1..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,7 +0,0 @@ -<!doctype html> -<html lang="en"> - {{ partial "head.html" . }} - <body> - <main>{{ block "main" . }}{{ end }}</main> - </body> -</html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 2919b8f..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ define "main" }} - -<div> - <h1>{{ .Title }}</h1> - - <div id="meta"> - {{- $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 }} - <span id="meta_date">posted on {{ $pub }}</span> - {{ else }} - <span id="meta_date">posted on {{ $pub }} - last modified {{ $mod }}</span> - {{ end }} - </div> - - <article>{{ .Content }}</article> - - <a href="/">↑ back home</a> -</div> - -{{ end }} diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml deleted file mode 100644 index a80fc53..0000000 --- a/layouts/index.atom.xml +++ /dev/null @@ -1,32 +0,0 @@ -<feed xmlns="http://www.w3.org/2005/Atom"> - <title>{{ .Site.Title }}</title> - <link href="{{ .Permalink }}feed.xml" rel="self"/> - <link href="{{ .Permalink }}"/> - <id>{{ .Permalink }}</id> - - {{ with .Site.Params.Author.name }} - <author> - <name>{{.}}</name> - {{ with $.Site.Params.Author.email }} - <email>{{.}}</email> - {{end}} - </author> - {{end}} - - <generator>Hugo -- gohugo.io</generator> - {{ range where (first 10 (where .Site.Pages "Section" "blog")) "Params.hidden" "ne" "true" }} - <entry> - {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title> - <link href="{{ .Permalink }}"/> - <id>{{ .Permalink }}</id> - {{ with .Site.Params.Author.name }} - <author> - <name>{{.}}</name> - </author> - {{end}} - {{- $fmt := "2006-01-02T15:04:05-07:00" }} - <published>{{ .Date.Format $fmt | safeHTML }}</published> - {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content> - </entry> - {{ end }} -</feed> diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index cbf00cc..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,68 +0,0 @@ -{{ define "main" }} - -<p>My name is Franck Cuny and this is my little corner on the web.</p> - -<p> - I currently work as a - <a href="https://en.wikipedia.org/wiki/Site_reliability_engineering" - >Site Reliability Engineer</a - > - (SRE) at <a href="https://www.roblox.com/" target="_blank">Roblox</a>. - Previously I worked as a SRE at - <a href="https://twitter.com/TwitterEng" target="_blank">Twitter</a>, and my - focus was on the infrastructure. -</p> - -<p> - 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. -</p> - -<ul> - <li> - Some of my code is shared on <a href="https://github.com/fcuny">GitHub</a> - </li> - <li> - Email: - <a href="mailto:franck@fcuny.net" title="franck@fcuny.net" - >franck@fcuny.net</a - > - </li> -</ul> - -<h2>Articles</h2> - -<article> - <ul> - {{ range (where .Site.Pages "Section" "blog") }} {{ range .Pages }} - <li> - <span class="content-title" - ><a href="{{ .Permalink }}">{{ .Title }}</a></span - > - <span class="content-date" - ><em>posted on {{ .Date.Format "Jan 2, 2006" }}</em></span - > - </li> - {{ end }} {{ end }} - </ul> -</article> - -<h2>Notes</h2> - -<article> - <ul> - {{ range (where .Site.Pages "Section" "notes") }} {{ range .Pages }} - <li> - <span class="content-title" - ><a href="{{ .Permalink }}">{{ .Title }}</a></span - > - <span class="content-date" - ><em>posted on {{ .Date.Format "Jan 2, 2006" }}</em></span - > - </li> - {{ end }} {{ end }} - </ul> -</article> - -{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 1fa0b42..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,25 +0,0 @@ -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - - <link rel="canonical" href="{{ .Permalink }}" /> - - {{ $css := "/css/custom.css" }} {{ $feed := "/feed.xml" }} - - <link rel="stylesheet" href="{{ $css }}" /> - <link - rel="alternate" - href="{{ $feed | relURL }}" - type="application/atom+xml" - title="ATOM feed" - /> - <link rel="author" href="humans.txt" /> - - <meta - name="description" - content="Franck Cuny's website, with articles about computers stuff." - /> - <meta name="author" content="Franck Cuny" /> - - <title>{{ .Title }}</title> -</head> |
