From bc58e57344b9cb142972696a71e2e5284aca7c59 Mon Sep 17 00:00:00 2001 From: Sean Kearney Date: Mon, 13 Jan 2025 17:21:08 -0500 Subject: [PATCH] ui: Change to devin-zola theme from codingfox-zola --- .gitmodules | 7 +++-- author.toml | 21 --------------- config.toml | 28 ++++++++++++++------ content/_index.md | 8 ------ content/archive.md | 5 +--- content/post/_index.md | 60 ++---------------------------------------- nav.toml | 19 ------------- readme.md | 4 +-- templates/archive.html | 17 ------------ themes/codinfox-zola | 1 - themes/zola-devin | 1 + 11 files changed, 28 insertions(+), 143 deletions(-) delete mode 100644 author.toml delete mode 100644 content/_index.md delete mode 100644 nav.toml delete mode 100644 templates/archive.html delete mode 160000 themes/codinfox-zola create mode 160000 themes/zola-devin diff --git a/.gitmodules b/.gitmodules index 413c59f..b67e5c1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,3 @@ -[submodule "themes/codinfox-zola"] - path = themes/codinfox-zola - url = https://github.com/seankearney/codinfox-zola.git - branch = seankearney.com +[submodule "themes/zola-devin"] + path = themes/zola-devin + url = https://github.com/seankearney/zola-devin.git diff --git a/author.toml b/author.toml deleted file mode 100644 index df63505..0000000 --- a/author.toml +++ /dev/null @@ -1,21 +0,0 @@ -### -# About/contact for the site author -# -# name of the author of the site -name = "Sean Kearney" - -# description to display in the sidebar -description = "A passionate developer,technologist, lead by curiosity." - -# the profile image of the author to display in the sidebar -gravatar = "180c1b0844c902abbfef963baa491b94" # md5 hash of your email address # sidebar.html - -# contact links to reach the author -# - `name` is the font-awesome char name -# - `path` is the link to follow -contact = [ - { name = "github", path = "https://github.com/seankearney" }, - { name = "stack-overflow", path = "https://stackoverflow.com/users/255194/sean-kearney" }, - { name = "twitter", path = "https://twitter.com/seankearney" }, - { name = "linkedin", path = "https://www.linkedin.com/in/skearney/" } -] diff --git a/config.toml b/config.toml index 97e86d8..23b8e98 100644 --- a/config.toml +++ b/config.toml @@ -1,10 +1,14 @@ # The URL the site will be built for base_url = "https://seankearney.com" -theme = "codinfox-zola" +# The site title and description; used in feeds by default +title = "Sean Kearney" +description = "A modern blog built with Zola" + +theme = "zola-devin" # Whether to automatically compile all Sass files in the sass directory -compile_sass = true +compile_sass = false # Whether to build a search index to be used later on by a JavaScript library build_search_index = true @@ -33,10 +37,18 @@ generate_robots_txt = true highlight_code = true [extra] + +# Blog owner configuration +blog_owner_name = "Sean Kearney" +blog_owner_image = "./images/hero.jpg" +blog_owner_description = "A seasoned technology leader, serial entrepreneur, enthusiastic coder, and sporadic blogger. Find me at" + +# Social media links +social_links = [ + { name = "GitHub", url = "https://github.com/seankearney" }, + { name = "Twitter", url = "https://twitter.com/seankearney" }, + { name = "LinkedIn", url = "https://www.linkedin.com/in/skearney" }, + { name = "StackOverflow", url = "https://stackoverflow.com/users/255194/sean-kearney" } +] -### -# codinfox-zola theme variables -google_analytics_token = "UA-74650-7" - -# show or not the reading time based on https://help.medium.com/hc/en-us/articles/214991667-Read-time -read_time = true +google_analytics_gtag_id = "UA-74650-7" \ No newline at end of file diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 4abc238..0000000 --- a/content/_index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -template = "post-list.html" -title = "Sean Kearney" -description = "Blog posts" -sort_by = "date" -paginate_by = 10 -paginate_path = "page" -+++ \ No newline at end of file diff --git a/content/archive.md b/content/archive.md index 3ca77cc..7393dc8 100644 --- a/content/archive.md +++ b/content/archive.md @@ -1,8 +1,5 @@ +++ -template = "archive.html" -date = 2024-12-12 title = "Archives" -description = "Blog archive" - +template = "archive.html" sort_by = "date" +++ \ No newline at end of file diff --git a/content/post/_index.md b/content/post/_index.md index 6877197..9269791 100644 --- a/content/post/_index.md +++ b/content/post/_index.md @@ -1,64 +1,8 @@ +++ -title = "Blog" - -description = "Blog posts" - -# Used to sort pages by "date", "weight" or "none". See below for more information. +title = "Blog Posts" sort_by = "date" - -# Used by the parent section to order its subsections. -# Lower values have higher priority. -#weight = 0 - -# Template to use to render this section page. template = "post-list.html" - -# The given template is applied to ALL pages below the section, recursively. -# If you have several nested sections, each with a page_template set, the page -# will always use the closest to itself. -# However, a page's own `template` variable will always have priority. -# Not set by default. page_template = "post.html" - -# This sets the number of pages to be displayed per paginated page. -# No pagination will happen if this isn't set or if the value is 0. paginate_by = 10 - -# If set, this will be the path used by the paginated page. The page number will be appended after this path. -# The default is page/1. paginate_path = "page" - -# This determines whether to insert a link for each header like the ones you can see on this site if you hover over -# a header. -# The default template can be overridden by creating an `anchor-link.html` file in the `templates` directory. -# This value can be "left", "right" or "none". -#insert_anchor_links = "none" - -# If set to "true", the section pages will be in the search index. This is only used if -# `build_search_index` is set to "true" in the Zola configuration file. -#in_search_index = true - -# If set to "true", the section homepage is rendered. -# Useful when the section is used to organize pages (not used directly). -render = false - -# This determines whether to redirect when a user lands on the section. Defaults to not being set. -# Useful for the same reason as `render` but when you don't want a 404 when -# landing on the root section page. -# Example: redirect_to = "documentation/content/overview" -#redirect_to = - -# If set to "true", the section will pass its pages on to the parent section. Defaults to `false`. -# Useful when the section shouldn't split up the parent section, like -# sections for each year under a posts section. -transparent = true - -# Use aliases if you are moving content but want to redirect previous URLs to the -# current one. This takes an array of paths, not URLs. -#aliases = [] - -# Your own data. -#[extra] -+++ - -This is the page listing the blog posts sorted by date. ++++ \ No newline at end of file diff --git a/nav.toml b/nav.toml deleted file mode 100644 index 5a47d9b..0000000 --- a/nav.toml +++ /dev/null @@ -1,19 +0,0 @@ -[[nav]] -name = "Home" -path = "/" - -[[nav]] -name = "Categories" -path = "/tags/" - -[[nav]] -name = "Archive" -path = "/archive/" - -[[nav]] -name = "About" -path = "/about/" - -[[nav]] -name = "Feed" -path = "/rss.xml" \ No newline at end of file diff --git a/readme.md b/readme.md index 41fc57d..dc50bb7 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ My personal blog! Since 2006, I've been sharing my insights and experiences on s ## Technology Stack - **Static Site Generator**: [Zola](https://www.getzola.org/) -- **Theme**: codinfox-zola [Modified](https://github.com/seankearney/codinfox-zola) +- **Theme**: [zola-devin](https://github.com/seankearney/zola-devin) - **Hosting**: GitHub Pages - **Content Format:** Markdown with TOML front matter @@ -30,11 +30,9 @@ zola serve ``` content/ - _index.md # Home page about.md # About page archive.md # Archives page post/ # Blog posts - _index.md [year-month-day-slug]/ index.md # Post content images # Post images diff --git a/templates/archive.html b/templates/archive.html deleted file mode 100644 index c7854c3..0000000 --- a/templates/archive.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "page.html" %} - -{% block page_content %} -

{{ page.title }}

- - {% set section = get_section(path="post/_index.md") %} - {% for year, posts in section.pages | group_by(attribute="year") %} -

{{ year }}

- - - {% endfor %} - -{% endblock content %} \ No newline at end of file diff --git a/themes/codinfox-zola b/themes/codinfox-zola deleted file mode 160000 index 60cb2de..0000000 --- a/themes/codinfox-zola +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 60cb2deafda6f08b71a2e5cee4faedd2dae9a36b diff --git a/themes/zola-devin b/themes/zola-devin new file mode 160000 index 0000000..e104318 --- /dev/null +++ b/themes/zola-devin @@ -0,0 +1 @@ +Subproject commit e104318bff30da2c917bc0ecb95ffa2176cc0230