From 8d9bf2e5a106ce278b940f31d0fe75b1cb6b20d6 Mon Sep 17 00:00:00 2001 From: James McDonald Date: Fri, 7 May 2021 14:49:28 +0200 Subject: [PATCH] Fuck around with themes --- .gitmodules | 6 ++++ config.toml | 67 ++++++++++++++++-------------------- themes/accessible-minimalism | 1 + themes/uBlogger | 1 + 4 files changed, 37 insertions(+), 38 deletions(-) create mode 160000 themes/accessible-minimalism create mode 160000 themes/uBlogger diff --git a/.gitmodules b/.gitmodules index 66dfae1..6d7d179 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,9 @@ [submodule "themes/hugo-theme-jane"] path = themes/hugo-theme-jane url = https://github.com/xianmin/hugo-theme-jane.git +[submodule "themes/uBlogger"] + path = themes/uBlogger + url = https://github.com/upagge/uBlogger.git +[submodule "themes/accessible-minimalism"] + path = themes/accessible-minimalism + url = https://github.com/leonstafford/accessible-minimalism-hugo-theme diff --git a/config.toml b/config.toml index 2291380..0dfebcf 100644 --- a/config.toml +++ b/config.toml @@ -1,8 +1,11 @@ baseURL = "https://jamesmcdonald.com/" -#baseURL = "http://172.31.236.160:1313/" +defaultContentLanguage = "en" +languageCode = "en-gb" title = "James McDonald" -theme = "geekblog" +theme = "accessible-minimalism" disqusShortname = "jamesmcdonald" +disableHugoGeneratorInject = true +enableRobotsTXT = true # Required to get well formatted code blocks pygmentsUseClasses = true @@ -21,53 +24,41 @@ enableGitInfo = true author = "authors" tag = "tags" -[mediaTypes] - [mediaTypes."application/atom+xml"] - suffixes = ["xml"] +#[[menu.sidebar]] +# name = "GitLab" +# url = "https://gitlab.com/jamesmcdonald/" -[outputFormats] - [outputFormats.Atom] - # https://validator.w3.org/feed/docs/atom.html#whatIsAtom - name = "Atom" - mediaType = "application/atom+xml" - # generated file = . = atom.xml - baseName = "atom" - isPlainText = false - rel = "alternate" - isHTML = false - noUgly = true - permalinkable = false +#[[menu.sidebar]] +# name = "GitHub" +# url = "https://github.com/jamesmcdonald/" -[outputs] - home = ["HTML", "ATOM"] - page = ["HTML"] - section = ["HTML"] - taxonomy = ["HTML"] - term = ["HTML", "ATOM"] +#[[menu.sidebar]] +# name = "Twitter" +# url = "https://twitter.com/0xfce2/" -[[menu.sidebar]] - name = "GitLab" - url = "https://gitlab.com/jamesmcdonald/" - -[[menu.sidebar]] - name = "GitHub" - url = "https://github.com/jamesmcdonald/" - -[[menu.sidebar]] - name = "Twitter" - url = "https://twitter.com/0xfce2/" - -[[menu.sidebar]] - name = "LinkedIn" - url = "https://www.linkedin.com/in/james-mcdonald-4300202/" +#[[menu.sidebar]] +# name = "LinkedIn" +# url = "https://www.linkedin.com/in/james-mcdonald-4300202/" [params] author = "James McDonald" description = "Stuff I wrote about things" sharingicons = false + version = "2.0.X" [params.sidebar] about = "I like to do things to do with computers and occasionally write about those things. And other things, besides.

[Read more →](/about)" # [params.social] # twitter = "0xfce2" + + +[menu] + [[menu.main]] + name = "Home" + url = "/" + weight = 1 + [[menu.main]] + name = "Posts" + url = "/posts/" + weight = 2 diff --git a/themes/accessible-minimalism b/themes/accessible-minimalism new file mode 160000 index 0000000..ca6d9b3 --- /dev/null +++ b/themes/accessible-minimalism @@ -0,0 +1 @@ +Subproject commit ca6d9b397b57a7b763dc7a3ff2e33ed2684376c6 diff --git a/themes/uBlogger b/themes/uBlogger new file mode 160000 index 0000000..8acb188 --- /dev/null +++ b/themes/uBlogger @@ -0,0 +1 @@ +Subproject commit 8acb188d55253890b13ba4dc02331565c4fcd084