about summary refs log tree commit diff
path: root/users/fcuny/notes/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/notes/layouts')
-rw-r--r--users/fcuny/notes/layouts/_default/baseof.html10
-rw-r--r--users/fcuny/notes/layouts/_default/list.html10
-rw-r--r--users/fcuny/notes/layouts/_default/single.html40
-rw-r--r--users/fcuny/notes/layouts/index.html22
-rw-r--r--users/fcuny/notes/layouts/partials/head.html17
-rw-r--r--users/fcuny/notes/layouts/partials/header.html5
-rw-r--r--users/fcuny/notes/layouts/partials/postlist.html12
-rw-r--r--users/fcuny/notes/layouts/taxonomy/tag.html6
8 files changed, 0 insertions, 122 deletions
diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html
deleted file mode 100644
index 0c72fb1..0000000
--- a/users/fcuny/notes/layouts/_default/baseof.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!doctype html>
-<html lang="en">
-  {{ partial "head.html" . }}
-  <body>
-    {{- partial "header.html" . -}}
-    <main>
-     {{ block "main" . }}{{ end }}
-    </main>
-  </body>
-</html>
diff --git a/users/fcuny/notes/layouts/_default/list.html b/users/fcuny/notes/layouts/_default/list.html
deleted file mode 100644
index d2c59a7..0000000
--- a/users/fcuny/notes/layouts/_default/list.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{{ define "main" }}
-
-<article>
-
-  {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }}
-  {{ partial "postlist" $pgs }}
-
-</article>
-
-{{ end }}
diff --git a/users/fcuny/notes/layouts/_default/single.html b/users/fcuny/notes/layouts/_default/single.html
deleted file mode 100644
index 7f594ad..0000000
--- a/users/fcuny/notes/layouts/_default/single.html
+++ /dev/null
@@ -1,40 +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 }}
-  <div id="meta_date">published {{ $pub }}</div>
-  {{ else }}
-  <div id="meta_date">published {{ $pub }} - last modified {{ $mod }}</div>
-  {{ end }}
-  {{ if .Params.tags }}
-  <div>
-  {{ if eq (len .Params.tags) 1 }}
-  tag:
-  {{ else }}
-  tags:
-  {{ end }}
-  {{ range $idx, $tag := .Params.tags }}
-  <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span>
-  {{ end }}
-  </div>
-  {{ end }}
-</div>
-
-<article>
-{{ .Content }}
-</article>
-
-</div>
-
-{{ end }}
diff --git a/users/fcuny/notes/layouts/index.html b/users/fcuny/notes/layouts/index.html
deleted file mode 100644
index 8ddc67d..0000000
--- a/users/fcuny/notes/layouts/index.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ define "main" }}
-
-<article>
-
-  A place to collect random notes.
-
-  <ul id="post-permalink">
-  {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
-  {{ range $pages }}
-  <li>
-    <a href="{{ .Permalink }}">{{ .Title }}</a>
-    {{ range $idx, $tag := .Params.tags }}
-    <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span>
-  {{ end }}
-  </li>
-
-  {{ end }}
-  </ul>
-
-</article>
-
-{{ end }}
diff --git a/users/fcuny/notes/layouts/partials/head.html b/users/fcuny/notes/layouts/partials/head.html
deleted file mode 100644
index 6e5a6fb..0000000
--- a/users/fcuny/notes/layouts/partials/head.html
+++ /dev/null
@@ -1,17 +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"  }}
-  <link rel="stylesheet" href="{{ $css }}">
-  <link rel="author" href="humans.txt" />
-
-  <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🖥️</text></svg>">
-
-  <meta name="description" content="Franck's notes.">
-  <meta name="author" content="Franck Cuny">
-
-  <title>{{ .Title }}</title>
-</head>
diff --git a/users/fcuny/notes/layouts/partials/header.html b/users/fcuny/notes/layouts/partials/header.html
deleted file mode 100644
index 798463c..0000000
--- a/users/fcuny/notes/layouts/partials/header.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<header>
-  <nav class="navbar">
-    <a class="nav-bold" href="{{ .Site.BaseURL }}">~/notes</a>
-  </nav>
-</header>
diff --git a/users/fcuny/notes/layouts/partials/postlist.html b/users/fcuny/notes/layouts/partials/postlist.html
deleted file mode 100644
index 3d5cf04..0000000
--- a/users/fcuny/notes/layouts/partials/postlist.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ range .GroupByDate "2006" }}
-  <h2>{{ .Key }}</h2>
-  <ul>
-    {{ range .Pages.ByDate.Reverse }}
-    <li>
-      <div>
-        <a href="{{ .Permalink }}">{{ .Title }}</a>
-      </div>
-    </li>
-    {{ end }}
-  </ul>
-{{ end }}
diff --git a/users/fcuny/notes/layouts/taxonomy/tag.html b/users/fcuny/notes/layouts/taxonomy/tag.html
deleted file mode 100644
index 2b7d98a..0000000
--- a/users/fcuny/notes/layouts/taxonomy/tag.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{ define "main" }}
-
-  {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }}
-  {{ partial "postlist" $pgs }}
-
-{{ end }}