about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/partials
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-03-07 16:23:59 -0800
committerFranck Cuny <franck@fcuny.net>2021-03-07 16:23:59 -0800
commit6f3729b383909ca091925defed83d8ce37b9e7d5 (patch)
treed4cc5dc34b6d00857a50de13260205d438d8ca05 /users/fcuny/blog/layouts/partials
downloadworld-6f3729b383909ca091925defed83d8ce37b9e7d5.tar.gz
initial site with hugo
Start my website from scratch once more, using hugo to generate it. For
now the layout is pretty simple:
- an index page that will list future notes
- notes should be created under the "content" directory

The theme is custom and I'll try to keep this simple.
Diffstat (limited to 'users/fcuny/blog/layouts/partials')
-rw-r--r--users/fcuny/blog/layouts/partials/head.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/fcuny/blog/layouts/partials/head.html b/users/fcuny/blog/layouts/partials/head.html
new file mode 100644
index 0000000..9301a82
--- /dev/null
+++ b/users/fcuny/blog/layouts/partials/head.html
@@ -0,0 +1,15 @@
+<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"  }}
+  <link rel="stylesheet" href="{{ $css }}">
+  <link rel="alternate" href="{{ "/feed.xml" | relURL }}" type="application/atom+xml" title="ATOM feed">
+  
+  <meta name="description" content="Franck Cuny's website, with articles about computers stuff.">
+  <meta name="author" content="Franck Cuny">
+
+  <title>{{ .Title }}</title>
+</head>