From ac7399b7bba4cd64fe8a6c10b1f8524524c01e38 Mon Sep 17 00:00:00 2001 From: Salif Mehmed Date: Sat, 4 Jan 2025 21:59:14 +0200 Subject: [PATCH] Add papermod theme --- .gitmodules | 9 ++- README.md | 9 ++- content/home/data.toml | 157 ++++++++++++++++++++++++++------------- themes/bearplus | 2 +- themes/linkita | 2 +- themes/linkita-theme | 2 +- themes/mo8it-mod | 2 +- themes/papermod | 1 + themes/project-portfolio | 2 +- themes/radion | 2 +- themes/zluinav | 2 +- 11 files changed, 124 insertions(+), 66 deletions(-) create mode 160000 themes/papermod diff --git a/.gitmodules b/.gitmodules index 92bedeb5..538ae967 100644 --- a/.gitmodules +++ b/.gitmodules @@ -31,6 +31,9 @@ [submodule "themes/kita"] path = themes/kita url = https://github.com/st1020/kita.git +[submodule "themes/papermod"] + path = themes/papermod + url = https://github.com/cydave/zola-theme-papermod.git [submodule "themes/mabuya"] path = themes/mabuya url = https://github.com/semanticdata/mabuya.git @@ -64,6 +67,9 @@ [submodule "themes/sandbox"] path = themes/sandbox url = https://github.com/semanticdata/zola-sandbox.git +[submodule "themes/radion"] + path = themes/radion + url = https://github.com/micahkepe/radion.git [submodule "themes/DogFood"] path = themes/DogFood url = https://github.com/CSUwangj/DogFood.git @@ -76,6 +82,3 @@ [submodule "themes/silk"] path = themes/silk url = https://github.com/DenysVuika/zola-silk.git -[submodule "themes/radion"] - path = themes/radion - url = https://github.com/micahkepe/radion.git diff --git a/README.md b/README.md index 449a3b24..bcf0972b 100644 --- a/README.md +++ b/README.md @@ -25,21 +25,22 @@ - [tranquil](https://github.com/TeaDrinkingProgrammer/tranquil): 293 commits - [cela](https://github.com/edwardzcn-decade/cela): 3 commits - [bluetheme](https://github.com/bluerobotics/bluetheme): 21 commits -- [arsmateria](https://github.com/mboleary/arsmateria-zola-theme): 19 commits -- [anatole](https://github.com/longfangsong/anatole-zola): 49 commits +- [anatole-zola](https://github.com/longfangsong/anatole-zola): 49 commits - [parchment](https://github.com/jsonfry/parchment): 5 commits - [hermit_zola](https://github.com/VersBinarii/hermit_zola): 61 commits - [hayflow](https://github.com/aaw3/hayflow): 19 commits - [bd](https://github.com/flabbergastedbd/bd): 20 commits -- [stardust](https://github.com/UWCS/stardust-theme): 256 commits +- [stardust-theme](https://github.com/UWCS/stardust-theme): 256 commits - [zola-metro](https://github.com/RedstoneParadox/zola-metro): 18 commits - [sigmund](https://github.com/videah/sigmund): 36 commits - [zola-pickles](https://github.com/lukehsiao/zola-pickles): 92 commits - [archie-zola](https://github.com/XXXMrG/archie-zola): 59 commits - [archie-zola-modified](https://codeberg.org/akselmo/archie-zola-modified): 62 commits +- [arsmateria-zola-theme](https://github.com/mboleary/arsmateria-zola-theme): 19 commits - [snow-kitty](https://codeberg.org/SnowCode/snow-kitty): 94 commits - [zola-rahix](https://github.com/Rahix/blog-theme): 88 commits - [zola-academic](https://github.com/zola-academic/zola-academic): 85 commits +- [zola-paper](https://github.com/schoenenberg/zola-paper): 15 commits In addition to the usual causes, build may also fail if the theme uses `load_data` from `public` directory (my scripts use a different name) or `.git/HEAD` (not available in the submodule directory). @@ -51,7 +52,7 @@ In addition to the usual causes, build may also fail if the theme uses `load_dat - [feather](https://github.com/piedoom/feather): 81 commits - [slightknack](https://github.com/slightknack/slightknack.dev): 230 commits - [norwind](https://github.com/nobodygx/norwind): 12 commits -- [nomad](https://github.com/nomad-dev-writer/zola-nomad-theme): 26 commits +- [zola-nomad-theme](https://github.com/nomad-dev-writer/zola-nomad-theme): 26 commits - [cosmic__cube](https://github.com/ccarral/cosmic__cube): 56 commits - [jiaxiang.wang](https://github.com/iWangJiaxiang/zola-theme-jiaxiang.wang): 35 commits - [Homepage-Creators](https://github.com/iWangJiaxiang/Homepage-Creators): 6 commits diff --git a/content/home/data.toml b/content/home/data.toml index 1123449a..548cbb6c 100644 --- a/content/home/data.toml +++ b/content/home/data.toml @@ -520,6 +520,59 @@ theme = "kita" url = "#info-kita" js = "const b=document.getElementById('info-kita').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" +[[project]] +theme = "papermod" +name = "PaperMod" +desc = "A fast, clean, responsive theme ported to Zola." +tags = [ ] +details = """ +
+ +### Installation{#h-install-papermod} +0. Create a new Zola site: `zola init` and initialize a Git repository: `git init` +1. Download the theme + - Option A: Add the theme as a git submodule: +```sh +git submodule add https://github.com/cydave/zola-theme-papermod.git themes/papermod +``` + - Option B: Clone the theme into your themes directory: +```sh +git clone https://github.com/cydave/zola-theme-papermod.git themes/papermod +``` +2. Set theme in your `config.toml` +```toml +theme = "papermod" +``` + +
+ +### Info{#h-info-papermod} +- **Author**: [cydave](https://github.com/cydave) +- **License**: MIT +- **Homepage**: +- **Offic. Live Demo**: +- **Min version**: 0.4.0 +- **Original**: +
""" + + [[project.links]] + name = "Live Demo" + url = "https://salif.github.io/zola-themes-collection/demo/papermod/" + + [[project.links]] + name = "Repository" + url = "https://github.com/cydave/zola-theme-papermod" + + [[project.links]] + name = "Install" + url = "#install-papermod" + js = "const b=document.getElementById('install-papermod').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" + + [[project.links]] + name = "Info" + url = "#info-papermod" + js = "const b=document.getElementById('info-papermod').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" + [[project]] theme = "mabuya" name = "Mabuya" @@ -1097,6 +1150,58 @@ theme = "sandbox" url = "#info-sandbox" js = "const b=document.getElementById('info-sandbox').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" +[[project]] +theme = "radion" +name = "radion" +desc = "A sleek, modern blog theme." +tags = [ ] +details = """ +
+ +### Installation{#h-install-radion} +0. Create a new Zola site: `zola init` and initialize a Git repository: `git init` +1. Download the theme + - Option A: Add the theme as a git submodule: +```sh +git submodule add https://github.com/micahkepe/radion.git themes/radion +``` + - Option B: Clone the theme into your themes directory: +```sh +git clone https://github.com/micahkepe/radion.git themes/radion +``` +2. Set theme in your `config.toml` +```toml +theme = "radion" +``` + +
+ +### Info{#h-info-radion} +- **Author**: [Micah Kepe](https://micahkepe.com) +- **License**: MIT +- **Homepage**: +- **Offic. Live Demo**: +- **Min version**: 0.19.2 +
""" + + [[project.links]] + name = "Live Demo" + url = "https://salif.github.io/zola-themes-collection/demo/radion/" + + [[project.links]] + name = "Repository" + url = "https://github.com/micahkepe/radion" + + [[project.links]] + name = "Install" + url = "#install-radion" + js = "const b=document.getElementById('install-radion').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" + + [[project.links]] + name = "Info" + url = "#info-radion" + js = "const b=document.getElementById('info-radion').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" + [[project]] theme = "DogFood" name = "DogFood" @@ -1302,55 +1407,3 @@ theme = "silk" name = "Info" url = "#info-silk" js = "const b=document.getElementById('info-silk').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" - -[[project]] -theme = "radion" -name = "radion" -desc = "A sleek, modern blog theme." -tags = [ ] -details = """ -
- -### Installation{#h-install-radion} -0. Create a new Zola site: `zola init` and initialize a Git repository: `git init` -1. Download the theme - - Option A: Add the theme as a git submodule: -```sh -git submodule add https://github.com/micahkepe/radion.git themes/radion -``` - - Option B: Clone the theme into your themes directory: -```sh -git clone https://github.com/micahkepe/radion.git themes/radion -``` -2. Set theme in your `config.toml` -```toml -theme = "radion" -``` - -
- -### Info{#h-info-radion} -- **Author**: [Micah Kepe](https://micahkepe.com) -- **License**: MIT -- **Homepage**: -- **Offic. Live Demo**: -- **Min version**: 0.19.2 -
""" - - [[project.links]] - name = "Live Demo" - url = "https://salif.github.io/zola-themes-collection/demo/radion/" - - [[project.links]] - name = "Repository" - url = "https://github.com/micahkepe/radion" - - [[project.links]] - name = "Install" - url = "#install-radion" - js = "const b=document.getElementById('install-radion').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" - - [[project.links]] - name = "Info" - url = "#info-radion" - js = "const b=document.getElementById('info-radion').parentElement;if(!b.hasAttribute('open')) b.setAttribute('open', true); this.style.display='none'" diff --git a/themes/bearplus b/themes/bearplus index 72d1c5f0..77b3854b 160000 --- a/themes/bearplus +++ b/themes/bearplus @@ -1 +1 @@ -Subproject commit 72d1c5f047066885eb711d1c91e041a73bde8f52 +Subproject commit 77b3854b63e5255d5ce8e9cfb62889a3378aacb4 diff --git a/themes/linkita b/themes/linkita index ada28cb8..d456e52d 160000 --- a/themes/linkita +++ b/themes/linkita @@ -1 +1 @@ -Subproject commit ada28cb83c4e053b708c0a9ad46a6fa178d0aca9 +Subproject commit d456e52d9915baf46171bc288c6a422c1c34dbba diff --git a/themes/linkita-theme b/themes/linkita-theme index 710a9c96..1e758dde 160000 --- a/themes/linkita-theme +++ b/themes/linkita-theme @@ -1 +1 @@ -Subproject commit 710a9c9666d839a3d9d16ed0d1e12fa33a7f6ff9 +Subproject commit 1e758dde2ba56928501c2cf55101c6a5c9e8d3d4 diff --git a/themes/mo8it-mod b/themes/mo8it-mod index 8178df75..6a1a0eef 160000 --- a/themes/mo8it-mod +++ b/themes/mo8it-mod @@ -1 +1 @@ -Subproject commit 8178df75189c44c4af2a75953d375725c149870a +Subproject commit 6a1a0eefa265c750ce61a2b806ffde712f15b03f diff --git a/themes/papermod b/themes/papermod new file mode 160000 index 00000000..13401e61 --- /dev/null +++ b/themes/papermod @@ -0,0 +1 @@ +Subproject commit 13401e6182234815221be495a3141e3368e56820 diff --git a/themes/project-portfolio b/themes/project-portfolio index f8f277e2..c8ff881c 160000 --- a/themes/project-portfolio +++ b/themes/project-portfolio @@ -1 +1 @@ -Subproject commit f8f277e2830daca9ea4a6f6b52c2da5191775907 +Subproject commit c8ff881c690358ad12e6537357cde3e48ac36ed2 diff --git a/themes/radion b/themes/radion index c8cf33da..b7a767dc 160000 --- a/themes/radion +++ b/themes/radion @@ -1 +1 @@ -Subproject commit c8cf33dac9288e92ceba26b36b1c190f6d79ec19 +Subproject commit b7a767dc700b64cd91987cfa9f57ea6c406a6256 diff --git a/themes/zluinav b/themes/zluinav index 1d7585b0..8290dd51 160000 --- a/themes/zluinav +++ b/themes/zluinav @@ -1 +1 @@ -Subproject commit 1d7585b0571a1df1770428d3a46c4c47237d72ef +Subproject commit 8290dd51a13ee5450456903783e484fa404940b7