From d6bd7d33597ebfec0b74ca0d0a92d17d1d908c25 Mon Sep 17 00:00:00 2001 From: James Brechtel Date: Wed, 2 Oct 2024 13:34:43 -0400 Subject: [PATCH] Typo theme --- .gitmodules | 3 + hugo.toml | 253 ++++++++++++---------------------------------------- themes/typo | 1 + 3 files changed, 61 insertions(+), 196 deletions(-) mode change 100644 => 100755 hugo.toml create mode 160000 themes/typo diff --git a/.gitmodules b/.gitmodules index 302979f..787ea16 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "themes/dark-theme-editor"] path = themes/dark-theme-editor url = https://github.com/JingWangTW/dark-theme-editor.git +[submodule "themes/typo"] + path = themes/typo + url = https://github.com/tomfran/typo.git diff --git a/hugo.toml b/hugo.toml old mode 100644 new mode 100755 index 0a70d0e..2df05ed --- a/hugo.toml +++ b/hugo.toml @@ -1,213 +1,74 @@ -baseURL = 'https://drafts.jamesbrechtel.com/' +baseURL = 'https://willfullyobtuse.com/' languageCode = 'en-us' -title = 'james brechtel' -theme = 'dark-theme-editor' +title = 'circumlocution' +theme = 'typo' -# Support Taxonomies [taxonomies] - author = "James brechtel" - tag = "tags" - category = "categories" - _merge = "deep" +tag = 'tags' + +# Google analytics code +googleAnalytics = "" -[markup.goldmark.renderer] - unsafe = true - -# Theme parameters [params] +# Meta description +description = "point free notes" - # Parameters applied in HTML - [params.site] - # Website ICON - faviconUrl = "" +# Appearance settings +theme = 'light' +colorPalette = 'default' +hideHeader = false - # Do you have any CSS in local? List them in an array. - # They should be placed inside "/assets" dir. - # Please list your files relative to the /assets directory. - # Glob pattern is acceptable - # If only a few pages need the extra style files, list them in the page metadata. - localCss = [] +# Intro on main page, content is markdown +homeIntroTitle = 'Hi!' +homeIntroContent = """ +Notes, journal, details, rants, clarifications +""" - # Do you need to add any external CSS? List their URL in an array. - # If only a few pages need the extra style files, list them in the page metadata. - # These URLs will be inserted into tags directly without any check. - externalCss = [] +# Collection to display on home +homeCollectionTitle = 'Posts' +homeCollection = 'posts' - # Like the one above, but this will download a local copy and combine it with - # other CSS files into a single file while in production mode. - externalCssDownload = [] +# Lists parameters +paginationSize = 100 +listSummaries = true +listDateFormat = '2 Jan 2006' - # Do you have any script in local? List them in an array. - # They should be placed inside "/assets" dir. - # Please list your files relative to the /assets directory. - # Glob pattern is acceptable - # If only a few pages need the extra script files, list them in the page metadata. - localJs = [] +# Breadcrumbs +breadcrumbs = true - # Do you have any external Script need to add on? List their URL in an array. - # If only a few pages need the extra script files, list them in the page metadata. - # These URLs will be inserted into