From aeb2315a7be14d802b80e03189edc7a34702c63e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 16 Nov 2022 23:18:08 +0000 Subject: [PATCH] Clean up layout --- .gitignore | 2 +- config.yml | 3 ++ layouts/partials/footer.html | 9 ----- public/index.html | 71 ------------------------------------ static/no-wordcount.css | 3 ++ 5 files changed, 7 insertions(+), 81 deletions(-) delete mode 100644 layouts/partials/footer.html delete mode 100644 public/index.html create mode 100644 static/no-wordcount.css diff --git a/.gitignore b/.gitignore index 29db922..fac5735 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ ### Hugo ### # Generated files by hugo -/public/ +/public /resources/_gen/ /assets/jsconfig.json hugo_stats.json diff --git a/config.yml b/config.yml index 607fc8d..9eecccc 100644 --- a/config.yml +++ b/config.yml @@ -8,6 +8,7 @@ params: subtitle: My presentations toc: false mode: auto + wpm: 1 social: - name: RSS icon: rss @@ -19,6 +20,8 @@ params: icon: globe url: https://theorangeone.net + customcss: no-wordcount.css + menu: main: - name: All diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index 5738104..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,9 +0,0 @@ - - -{{- with .Site.Params.Social -}} - -{{- end -}} diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 5425bcb..0000000 --- a/public/index.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - Presentations - My presentations - - - - - - - - - - - - - - - - - - - - - -
-
- -

Presentations

-

My presentations

-
- - -
- - -
-
- - - - - - -
-
-
- - - diff --git a/static/no-wordcount.css b/static/no-wordcount.css new file mode 100644 index 0000000..9b7186f --- /dev/null +++ b/static/no-wordcount.css @@ -0,0 +1,3 @@ +.post-header .matter .title:nth-child(2) { + display: none; +}