diff --git a/docs/content/themes/DeepThought/index.md b/docs/content/themes/DeepThought/index.md index 2dc77cbc..2078bc78 100644 --- a/docs/content/themes/DeepThought/index.md +++ b/docs/content/themes/DeepThought/index.md @@ -3,11 +3,11 @@ title = "DeepThought" description = "A simple blog theme focused on writing powered by Bulma and Zola." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/RatanShreshtha/DeepThought.git" homepage = "https://github.com/RatanShreshtha/DeepThought" minimum_version = "0.9.0" @@ -20,28 +20,40 @@ homepage = "https://ratanshreshtha.dev" +++ # DeepThought -> A simple blog theme focused on writing powered by Bulma and Zola. +A simple blog theme focused on writing powered by Bulma and Zola. ![DeepThought](./screenshot.png) -# [Live Demo](https://deepthought-theme.netlify.app/) +## Live Demo +Live version of the website is available at [here](https://deepthought-theme.netlify.app/) ## Installation -Get [Zola](https://www.getzola.org/) and/or follow their guide on [installing a theme](https://www.getzola.org/documentation/themes/installing-and-using-themes/). +Get [Zola](https://www.getzola.org/) and follow their guide on [installing a theme](https://www.getzola.org/documentation/themes/installing-and-using-themes/). Make sure to add `theme = "DeepThought"` to your `config.toml` -#### Check zola version (only 0.9.0+) +**Check zola version (only 0.9.0+)** Just to double-check to make sure you have the right version. It is not supported to use this theme with a version under 0.9.0. -### how to serve -go into your sites directory, and type `zola serve`. You should see your new site at `localhost:1111`. +## How to serve? +Go into your sites directory, and type `zola serve`. You should see your new site at `localhost:1111`. -### Deployment to Github Pages or Netlify + **NOTE**: you must provide the theme options variables in `config.toml` to serve a functioning site + +## Deployment [Zola](https://www.getzola.org) already has great documentation for deploying to [Netlify](https://www.getzola.org/documentation/deployment/netlify/) or [Github Pages](https://www.getzola.org/documentation/deployment/github-pages/). I won't bore you with a regurgitated explanation. -#### Theme Options +## Theme Options ```toml -# Add links to favicon + +navbar_items = [ + { url = "$BASE_URL/", name = "Home" }, + { url = "$BASE_URL/posts", name = "Posts" }, + { url = "$BASE_URL/docs", name = "Docs" }, + { url = "$BASE_URL/tags", name = "Tags" }, + { url = "$BASE_URL/categories", name = "Categories" }, +] + +# Add links to favicon, you can use https://realfavicongenerator.net/ to generate favicon for your site [extra.favicon] favicon_16x16 = "/icons/favicon-16x16.png" favicon_32x32 = "/icons/favicon-32x32.png" @@ -54,11 +66,12 @@ webmanifest = "/icons/site.webmanifest" name = "DeepThought" avatar = "/images/avatar.png" -# Social link setup -[extra.social] +# Social links [extra.social] +email = "" facebook = "" github = "" +gitlab = "" keybase = "" linkedin = "" stackoverflow = "" @@ -70,7 +83,7 @@ google = "" # To add hyvor comments [extra.commenting] -hyvor = "" +hyvor = "" # To enable mapbox maps [extra.mapbox] @@ -78,14 +91,17 @@ access_token = "" ``` ## Features - - [x] Pagination - - [x] Search - - [x] Charts - - [x] Maps - - [x] Diagrams - - [x] Analytics - - [x] Comments - - [x] Categories - - [ ] Social Links +- [x] Dark Mode +- [x] Pagination +- [x] Search +- [x] Charts +- [x] Maps +- [x] Diagrams +- [x] Galleria +- [x] Analytics +- [x] Comments +- [x] Categories +- [x] Social Links +- [x] Post Sharing \ No newline at end of file diff --git a/docs/content/themes/DeepThought/screenshot.png b/docs/content/themes/DeepThought/screenshot.png index 43ee5877..4b8520ef 100644 Binary files a/docs/content/themes/DeepThought/screenshot.png and b/docs/content/themes/DeepThought/screenshot.png differ diff --git a/docs/content/themes/Ergo/index.md b/docs/content/themes/Ergo/index.md index 1eae023f..3a40d8cb 100644 --- a/docs/content/themes/Ergo/index.md +++ b/docs/content/themes/Ergo/index.md @@ -3,11 +3,11 @@ title = "Ergo" description = "A simple blog Theme focused on writing, inspired by svbtle" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/InsidiousMind/Ergo.git" homepage = "https://github.com/insipx/Ergo" minimum_version = "0.4.1" diff --git a/docs/content/themes/Zulma/index.md b/docs/content/themes/Zulma/index.md index 62978d6f..e1a733c3 100644 --- a/docs/content/themes/Zulma/index.md +++ b/docs/content/themes/Zulma/index.md @@ -3,11 +3,11 @@ title = "Zulma" description = "A zola theme based off bulma.css" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/Worble/Zulma" homepage = "https://github.com/Worble/Zulma" minimum_version = "0.6.0" @@ -23,7 +23,7 @@ homepage = "" A Bulma theme for Zola. See a live preview [here](https://festive-morse-47d46c.netlify.com/) -![Zulma Screenshot](./screenshot.png) +![Zulma Screenshot](/screenshot.png) ## Contents diff --git a/docs/content/themes/after-dark/index.md b/docs/content/themes/after-dark/index.md index 58c0bab3..c1f7505d 100644 --- a/docs/content/themes/after-dark/index.md +++ b/docs/content/themes/after-dark/index.md @@ -3,11 +3,11 @@ title = "after-dark" description = "A robust, elegant dark theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/getzola/after-dark.git" homepage = "https://github.com/getzola/after-dark" minimum_version = "0.11.0" @@ -34,8 +34,8 @@ homepage = "https://www.vincentprouillet.com" First download this theme to your `themes` directory: ```bash -$ cd themes -$ git clone https://github.com/getzola/after-dark.git +cd themes +git clone https://github.com/getzola/after-dark.git ``` and then enable it in your `config.toml`: @@ -56,8 +56,8 @@ The theme requires tags and categories taxonomies to be enabled in your `config. ```toml taxonomies = [ # You can enable/disable RSS - {name = "categories", rss = true}, - {name = "tags", rss = true}, + {name = "categories", feed = true}, + {name = "tags", feed = true}, ] ``` If you want to paginate taxonomies pages, you will need to overwrite the templates diff --git a/docs/content/themes/anatole-zola/index.md b/docs/content/themes/anatole-zola/index.md new file mode 100644 index 00000000..88a1a788 --- /dev/null +++ b/docs/content/themes/anatole-zola/index.md @@ -0,0 +1,183 @@ + ++++ +title = "anatole-zola" +description = "A port of farbox-theme-Anatole for zola" +template = "theme.html" +date = 2021-02-18T22:27:50+01:00 + +[extra] +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 +repository = "https://github.com/longfangsong/anatole-zola.git" +homepage = "https://github.com/longfangsong/anatole-zola" +minimum_version = "0.4.0" +license = "MIT" +demo = "https://longfangsong.github.io/blog-next" + +[extra.author] +name = "longfangsong" +homepage = "https://github.com/longfangsong" ++++ + +# Anatole Theme for Zola + +Port [Anatole theme for farbox](https://github.com/hi-caicai/farbox-theme-Anatole) to Zola. + +![screenshot](./screenshot.png) + +![screenshot-mobile](./screenshot-mobile.png) + +You can view my blog for an example configuation, with customizations. + +## Installation + +First download this theme to your `themes` directory: + +```bash +$ cd themes +$ git clone https://github.com/longfangsong/anatole-zola.git +``` +and then enable it in your `config.toml`: + +```toml +theme = "anatole-zola" +``` + +And copy the `content/about`, `content/archive`, `content/_index.md` in the theme folder to your own content folder. And edit the `_index.md` in `about` folder to edit the content of your `about` page. + +## Options + +### Basic + +Add `title`, `description` and `base_url`: + +```toml +title = "Anatole" +description = "A other zola theme" +base_url = "https://example.com" +``` + +### Language + +Currently, we have English and Chinese translation, set the `default_language` if necessary: + +```toml +# 如果你想要中文 +default_language = "zh" +``` + +It's sad that transations in themes are not working, you can copy these to your `config.toml`: + +```toml +[translations.en] +about = "About" +home = "Home" +tags = "Tags" +archive = "Archive" +links = "Links" +next_page = "Next Page" +last_page = "Last Page" + +[translations.zh] +home = "首页" +about = "关于" +tags = "标签" +archive = "归档" +links = "友链" +next_page = "下一页" +last_page = "上一页" +``` + +Feel free to create a pull request if you want to translate the promotes into other languages! + +### Sections + +Tags and links sections are optional. + +- If you want to enable the tags page, add + ```toml + taxonomies = [ + {name = "tags"}, + ] + + [extra.show] + tags = true + ``` + To your `config.toml` + +- If you want to enable the links page, add + + ```toml + [extra.show] + links = true + ``` + + and copy `content/links` to your own `content` library. And edit the `_index.md` in it to edit its content. + +### Sidebar menu + +We support a bunch of social links, they are: + +```toml +[extra.social] +github = "" +twitter = "" +facebook = "" +instagram = "" +dribbble = "" +weibo = "" +``` + +Fill in your username if you want! And the logo won't appear if you leave it empty. + + + +### Comment system + +We currently support [valine](https://valine.js.org/quickstart.html): + +```toml +[extra.comment.valine] +appid = "Your appid goes here" +appkey = "Your appkey goes here" +notify = false # true/false: mail notify https://github.com/xCss/Valine/wiki/Valine-%E8%AF%84%E8%AE%BA%E7%B3%BB%E7%BB%9F%E4%B8%AD%E7%9A%84%E9%82%AE%E4%BB%B6%E6%8F%90%E9%86%92%E8%AE%BE%E7%BD%AE +verify = false # true/false: verify code +avatar = "mm" # avatar style https://github.com/xCss/Valine/wiki/avatar-setting-for-valine +placeholder = "Say something here" +``` + +And [disqus](https://disqus.com/admin/create/), note disqus does not work in Mainland China: + +```toml +[extra.comment.disqus] +name = "longfangsong" +``` + +## Customize + +There are several points I left in the origin templates for you to customize your site. + +### More style + +You can create a `blog.scss` or something similiar in the your `sass` folder, add a `templates.html` with following content: + +```html +{%/* extends "anatole-zola/templates/basic.html" */%} +{%/* block extra_head */%} + +{%/* endblock */%} +``` + +### More social links + +You can add more social links by adding a `templates.html` with some content added to `more_social_link` block: + +```html +{%/* extends "anatole-zola/templates/basic.html" */%} +{%/* block more_social_link */%} +
+{%/* endblock */%} +``` + +If you want to use some awsome logos, [font awsome icons](https://fontawesome.com/icons?d=gallery) are already available. + \ No newline at end of file diff --git a/docs/content/themes/anatole-zola/screenshot.png b/docs/content/themes/anatole-zola/screenshot.png new file mode 100644 index 00000000..68657ff5 Binary files /dev/null and b/docs/content/themes/anatole-zola/screenshot.png differ diff --git a/docs/content/themes/anpu/index.md b/docs/content/themes/anpu/index.md index d0c9b179..a05ed6b1 100644 --- a/docs/content/themes/anpu/index.md +++ b/docs/content/themes/anpu/index.md @@ -3,11 +3,11 @@ title = "Anpu" description = "A port of the Hugo Anubis theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/zbrox/anpu-zola-theme.git" homepage = "https://github.com/zbrox/anpu-zola-theme" minimum_version = "0.11.0" @@ -27,7 +27,13 @@ This is a port of the Hugo theme [Anubis](https://github.com/Mitrichius/hugo-the ## Usage -In order to use the theme you need to clone this repository in your `themes` folder and set your theme setting in `config.toml` to `anpu`. Like this +In order to use the theme you need to clone this repository in your `themes` folder: + +```bash +git clone https://github.com/zbrox/anpu-zola-theme.git themes/anpu +``` + +Then set your theme setting in `config.toml` to `anpu`: ```toml theme = "anpu" @@ -76,4 +82,5 @@ anpu_date_format = "%e %B %Y" ``` The formatting uses the standart `date` filter in Tera. The date format options you can use are listed in the [chrono crate documentation](https://tera.netlify.app/docs/#date). + \ No newline at end of file diff --git a/docs/content/themes/book/index.md b/docs/content/themes/book/index.md index ceeb7e9d..f820659d 100644 --- a/docs/content/themes/book/index.md +++ b/docs/content/themes/book/index.md @@ -3,11 +3,11 @@ title = "book" description = "A book theme inspired from GitBook/mdBook" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/getzola/book.git" homepage = "https://github.com/getzola/book" minimum_version = "0.5.0" diff --git a/docs/content/themes/clean-blog/index.md b/docs/content/themes/clean-blog/index.md index 677343e3..60e33a41 100644 --- a/docs/content/themes/clean-blog/index.md +++ b/docs/content/themes/clean-blog/index.md @@ -3,11 +3,11 @@ title = "Clean Blog" description = "A port of Start Bootstrap Clean Blog for Zola" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/dave-tucker/zola-clean-blog" homepage = "https://github.com/dave-tucker/zola-clean-blog" minimum_version = "0.4.0" diff --git a/docs/content/themes/codinfox-zola/index.md b/docs/content/themes/codinfox-zola/index.md index e38f71b2..6b88d47b 100644 --- a/docs/content/themes/codinfox-zola/index.md +++ b/docs/content/themes/codinfox-zola/index.md @@ -3,16 +3,16 @@ title = "codinfox-zola" description = "Codinfox theme for Zola" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/svavs/codinfox-zola" homepage = "https://github.com/svavs/codinfox-zola" minimum_version = "0.11.0" license = "MIT" -demo = "https://svavs.github.io/" +demo = "https://codinfox-zola.vercel.app/" [extra.author] name = "Silvano Sallese" @@ -21,12 +21,14 @@ homepage = "https://svavs.github.io/" # Codinfox-Zola -This is a [Zola](https://www.getzola.org) theme inspired to [Codinfox-Lanyon](https://codinfox.github.com/), a Lanyon based theme for [Jekyll](http://jekyllrb.com). See a live demo [here](https://codinfox-zola.vercel.app/). +![Zola Deploy to Github Pages on push](https://github.com/svavs/codinfox-zola/workflows/Zola%20Deploy%20to%20Pages%20on%20push/badge.svg?branch=master) + +This is a [Zola](https://www.getzola.com) theme inspired to [Codinfox-Lanyon](https://codinfox.github.com/), a Lanyon based theme for [Jekyll](http://jekyllrb.com). See a live demo [here](https://codinfox-zola.vercel.app/). This theme places content first by tucking away navigation in a hidden drawer. -* Built for [Zola](https://www.getzola.org) -* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com) +* Built for [Zola](https://www.getzola.com) +* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com) and [Vercel](https://vercel.com) * Coded with [Spacemacs](https://www.spacemacs.org) This theme supports: @@ -66,7 +68,7 @@ If you want to have a Blog with this theme, then create a folder inside the `con ## License -Open sourced under the [MIT license](https://github.com/svavs/codinfox-zola/blob/master/LICENSE.md). +Open sourced under the [MIT license](LICENSE.md). ## TODO diff --git a/docs/content/themes/dinkleberg/index.md b/docs/content/themes/dinkleberg/index.md index 1ef3a94a..3d27e963 100644 --- a/docs/content/themes/dinkleberg/index.md +++ b/docs/content/themes/dinkleberg/index.md @@ -3,11 +3,11 @@ title = "dinkleberg" description = "The Rust BR theme for Gutenberg" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/rust-br/dinkleberg.git" homepage = "https://github.com/rust-br/dinkleberg" minimum_version = "0.4.0" diff --git a/docs/content/themes/docsascode-theme/index.md b/docs/content/themes/docsascode-theme/index.md index 8b4fbc4a..c681bbe1 100644 --- a/docs/content/themes/docsascode-theme/index.md +++ b/docs/content/themes/docsascode-theme/index.md @@ -3,11 +3,11 @@ title = "Docsascode_theme" description = "A modern simple Zola's theme related to docs as code methodology" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/codeandmedia/zola_docsascode_theme.git" homepage = "https://github.com/codeandmedia/zola_docsascode_theme" minimum_version = "0.10.0" @@ -21,7 +21,7 @@ homepage = "https://codeandmedia.com" **Demo: [docsascode.codeandmedia.com](http://docsascode.codeandmedia.com)** -I was inspired by [Linode's approach](https://www.linode.com/blog/linode/docs-as-code-at-linode/) to creating and managing docs. They call it _docs as code methodology._ Thereby my aim was making simple and productive way to work with any sort of documents and articles through Markdown, Git and Docker/k8s optionally. +I was inspired by [Linode's approach](https://www.linode.com/2020/01/17/docs-as-code-at-linode/) to creating and managing docs. They call it _docs as code methodology._ Thereby my aim was making simple and productive way to work with any sort of documents and articles through Markdown, Git and Docker/k8s optionally. The repo contains a theme for [Zola](https://www.getzola.org/) (the best static site generator I've ever seen) and dockerfile for building Docker images with Nginx-alpine. You can pull to your Docker an [image with demo-content](https://hub.docker.com/r/codeandmedia/docsascode-theme) diff --git a/docs/content/themes/even/index.md b/docs/content/themes/even/index.md index 601364f1..9e388949 100644 --- a/docs/content/themes/even/index.md +++ b/docs/content/themes/even/index.md @@ -3,11 +3,11 @@ title = "even" description = "A robust, elegant dark theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/getzola/even.git" homepage = "https://github.com/getzola/even" minimum_version = "0.11.0" @@ -35,8 +35,8 @@ Even is a clean, responsive theme based on the Hugo theme with the same name fea First download this theme to your `themes` directory: ```bash -$ cd themes -$ git clone https://github.com/getzola/even.git +cd themes +git clone https://github.com/getzola/even.git ``` and then enable it in your `config.toml`: @@ -49,8 +49,8 @@ The theme requires tags and categories taxonomies to be enabled in your `config. ```toml taxonomies = [ # You can enable/disable RSS - {name = "categories", rss = true}, - {name = "tags", rss = true}, + {name = "categories", feed = true}, + {name = "tags", feed = true}, ] ``` If you want to paginate taxonomies pages, you will need to overwrite the templates diff --git a/docs/content/themes/feather/index.md b/docs/content/themes/feather/index.md index 15b48602..18f47b8b 100644 --- a/docs/content/themes/feather/index.md +++ b/docs/content/themes/feather/index.md @@ -3,11 +3,11 @@ title = "feather" description = "A modern blog theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/piedoom/feather" homepage = "https://github.com/piedoom/feather" minimum_version = "0.5.1" diff --git a/docs/content/themes/float/index.md b/docs/content/themes/float/index.md index a9d8fb91..dce904b0 100644 --- a/docs/content/themes/float/index.md +++ b/docs/content/themes/float/index.md @@ -3,11 +3,11 @@ title = "Float" description = "An elegant blog theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://gitlab.com/float-theme/float.git" homepage = "https://float-theme.netlify.app/" minimum_version = "0.11.0" @@ -19,7 +19,7 @@ name = "Leon" homepage = "https://exp2.uniuni.space/" +++ -![Float](content/blog/2020-06-14-Float theme for Zola/Float.png) +![Float](content/blog/2020/2020-06-14-Float theme for Zola/Float.png) **[English](README.en.md)** @@ -45,9 +45,9 @@ Float 是一款為 [Zola](https://www.getzola.org/) 設計的佈景主題。 在您的 Zola 專案資料夾內: +把 Float 以 Git 子模組的方式加入專案內: ```shell -cd themes -git clone git@gitlab.com:float-theme/float.git +git submodule add https://gitlab.com/float-theme/float.git theme/float ``` 編輯您的 config.toml,指定 Float 作為佈景主題: @@ -85,11 +85,12 @@ cp -r themes/float/content/* content/ ``` content/ └── blog/ - └── 2020-06-21-Float theme for Zola/ - ├── index.md - ├── pic1.png - ├── pic2.png - └── qa_report.pdf + └── 2020/ + └── 2020-06-21-Float theme for Zola/ + ├── index.md + ├── pic1.png + ├── pic2.png + └── qa_report.pdf ``` 文章為 index.md,文內的配圖或其它檔案也是放在文章資料夾內。 @@ -107,6 +108,7 @@ tags = ["Float", "Zola"] [extra] feature_image = "pic1.png" # 卡片圖片。 feature = true # 是否為重點文章,重點文章會以寬版卡片顯示。 +link = "" # 指定卡片連結,若有指定則卡片不會連結到文章頁。 ``` ## 客製化 @@ -115,6 +117,8 @@ feature = true # 是否為重點文章,重點文章會以寬版卡片顯示。 ```TOML [extra] +main_section = "blog" + copyright = "" web_fonts = "" diff --git a/docs/content/themes/hallo/index.md b/docs/content/themes/hallo/index.md index 3692028f..ff5a3d3e 100644 --- a/docs/content/themes/hallo/index.md +++ b/docs/content/themes/hallo/index.md @@ -3,11 +3,11 @@ title = "hallo" description = "A single-page theme to introduce yourself." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/flyingP0tat0/zola-hallo.git" homepage = "https://github.com/janbaudisch/zola-hallo" minimum_version = "0.4.0" diff --git a/docs/content/themes/hyde/index.md b/docs/content/themes/hyde/index.md index b0522adc..46afc0c8 100644 --- a/docs/content/themes/hyde/index.md +++ b/docs/content/themes/hyde/index.md @@ -3,11 +3,11 @@ title = "hyde" description = "A classic blog theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/getzola/hyde.git" homepage = "https://github.com/getzola/hyde" minimum_version = "0.11.0" @@ -38,8 +38,8 @@ Hyde is a brazen two-column [Zola](https://github.com/getzola/zola) based on the First download this theme to your `themes` directory: ```bash -$ cd themes -$ git clone https://github.com/getzola/hyde.git +cd themes +git clone https://github.com/getzola/hyde.git ``` and then enable it in your `config.toml`: diff --git a/docs/content/themes/juice/index.md b/docs/content/themes/juice/index.md index 6883dbf4..03951a44 100644 --- a/docs/content/themes/juice/index.md +++ b/docs/content/themes/juice/index.md @@ -1,13 +1,13 @@ +++ title = "juice" -description = "An intuitive, elegant, and lightweight Zola™ theme for product sites." +description = "An intuitive, elegant, and lightweight Zola theme for product sites." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/huhu/juice" homepage = "https://github.com/huhu/juice" minimum_version = "0.11.0" @@ -21,9 +21,9 @@ homepage = "https://huhu.io" # Juice - + -**Juice** is an intuitive, elegant, and responsive Zola™ theme for product sites. +**Juice** is an intuitive, elegant, and responsive Zola theme for product sites. - Build for product sites - Simple and intuitive structure @@ -78,7 +78,7 @@ You can change the frontmatter's `weight` value to sort the order (ascending ord +++ title = "Changelog" description = "Changelog" -weight = 3 +weight = 2 +++ ``` @@ -118,6 +118,10 @@ juice_extra_menu = [ ] ``` +# Showcases + +Please see the [showcases page](/showcases). + # Contributing Thank you very much for considering contributing to this project! diff --git a/docs/content/themes/lightspeed/index.md b/docs/content/themes/lightspeed/index.md index fd32e5ad..8f2de073 100644 --- a/docs/content/themes/lightspeed/index.md +++ b/docs/content/themes/lightspeed/index.md @@ -3,11 +3,11 @@ title = "lightspeed" description = "Zola theme with a perfect Lighthouse score" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/carpetscheme/lightspeed" homepage = "https://github.com/carpetscheme/lightspeed" minimum_version = "0.10.0" @@ -142,7 +142,7 @@ This template is based on the Jekyll template [Light Speed Jekyll](https://githu ## License -Open sourced under the [MIT license](https://github.com/bradleytaunt/lightspeed/blob/master/LICENSE.md). +Open sourced under the [MIT license](LICENSE.md). This project is open source except for example articles found in `content`. diff --git a/docs/content/themes/oceanic-zen/index.md b/docs/content/themes/oceanic-zen/index.md index 9224f1c1..a38a6242 100644 --- a/docs/content/themes/oceanic-zen/index.md +++ b/docs/content/themes/oceanic-zen/index.md @@ -3,16 +3,16 @@ title = "Oceanic Zen" description = "Minimalistic blog theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/barlog-m/oceanic-zen.git" homepage = "https://github.com/barlog-m/oceanic-zen" -minimum_version = "0.9.0" +minimum_version = "0.12.0" license = "MIT" -demo = "" +demo = "https://oceanic-zen.netlify.app" [extra.author] name = "Barlog M." diff --git a/docs/content/themes/sam/index.md b/docs/content/themes/sam/index.md index c5083bcd..c406d859 100644 --- a/docs/content/themes/sam/index.md +++ b/docs/content/themes/sam/index.md @@ -3,11 +3,11 @@ title = "sam" description = "A Simple and Minimalist theme with a focus on typography and content." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/janbaudisch/zola-sam.git" homepage = "https://github.com/janbaudisch/zola-sam" minimum_version = "0.4.0" @@ -56,6 +56,29 @@ Either way, you will have to enable the theme in your `config.toml`. theme = "sam" ``` +## Taxonomies + +Sam supports the `tags` and `authors` taxonomies. + +To use them, declare them in your `config.toml`: + +```toml +taxonomies = [ + { name = "tags", rss = true }, + { name = "authors", rss = true } +] +``` + +Set them in your page's frontmatter: + +```toml +[taxonomies] +tags = ["some", "tag"] +authors = ["Alice", "Sam"] +``` + +See [Zola's documentation][taxonomies-docs] for more details. + ## Options See [`config.toml`][config] for an example configuration. @@ -162,6 +185,7 @@ text = "Some footer text." [hugo-sam]: https://github.com/victoriadotdev/hugo-theme-sam [upstream]: https://github.com/janbaudisch/zola-sam/blob/master/upstream [upstream-license]: https://github.com/janbaudisch/zola-sam/blob/master/upstream/LICENSE +[taxonomies-docs]: https://www.getzola.org/documentation/content/taxonomies [config]: https://github.com/janbaudisch/zola-sam/blob/master/config.toml [date-format-docs]: https://docs.rs/chrono/latest/chrono/format/strftime/index.html diff --git a/docs/content/themes/simple-dev-blog/index.md b/docs/content/themes/simple-dev-blog/index.md index e5c1817f..67df99cf 100644 --- a/docs/content/themes/simple-dev-blog/index.md +++ b/docs/content/themes/simple-dev-blog/index.md @@ -3,11 +3,11 @@ title = "simple-dev-blog" description = "A simple dev blog theme with no javascript, prerendered linked pages and SEO tags." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/bennetthardwick/simple-dev-blog-zola-starter" homepage = "https://github.com/bennetthardwick/simple-dev-blog-zola-starter" minimum_version = "0.4.0" diff --git a/docs/content/themes/slim/index.md b/docs/content/themes/slim/index.md index 23eede86..6cfedfe5 100644 --- a/docs/content/themes/slim/index.md +++ b/docs/content/themes/slim/index.md @@ -3,11 +3,11 @@ title = "Slim" description = "Slim is a minimal, clean and beautiful theme for Zola." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/jameshclrk/zola-slim" homepage = "https://github.com/jameshclrk/zola-slim" minimum_version = "0.8.0" diff --git a/docs/content/themes/solar-theme-zola/index.md b/docs/content/themes/solar-theme-zola/index.md index 688b6b6d..d9f733ba 100644 --- a/docs/content/themes/solar-theme-zola/index.md +++ b/docs/content/themes/solar-theme-zola/index.md @@ -3,11 +3,11 @@ title = "solar-theme-zola" description = "A port of solar-theme-hugo for zola" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/hulufei/solar-theme-zola.git" homepage = "https://github.com/hulufei/solar-theme-zola" minimum_version = "0.4.0" @@ -16,7 +16,7 @@ demo = "" [extra.author] name = "hulufei" -homepage = "https://github/hulufei" +homepage = "https://github.com/hulufei" +++ # Solar Theme for Zola @@ -62,7 +62,7 @@ Set a field in `extra` with a key of `site_menus`: ```toml site_menus = [ - { url = "https://github/hulufei/solar-theme-zola", name = "Repository" }, + { url = "https://github/hulufei.com/solar-theme-zola", name = "Repository" }, { url = "rss.xml", name = "RSS" }, ] ``` diff --git a/docs/content/themes/toucan/index.md b/docs/content/themes/toucan/index.md index 7266b6a3..f9307f86 100644 --- a/docs/content/themes/toucan/index.md +++ b/docs/content/themes/toucan/index.md @@ -3,16 +3,16 @@ title = "Toucan" description = "Inspired from Pelican default theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://git.42l.fr/HugoTrentesaux/toucan.git" homepage = "https://git.42l.fr/HugoTrentesaux/toucan" minimum_version = "0.8.0" license = "AGPL" -demo = "https://coinduf.eu/" +demo = "http://blog.coinduf.eu/" [extra.author] name = "Hugo Trentesaux" diff --git a/docs/content/themes/zerm/index.md b/docs/content/themes/zerm/index.md index 9a5b0135..81959a70 100644 --- a/docs/content/themes/zerm/index.md +++ b/docs/content/themes/zerm/index.md @@ -3,11 +3,11 @@ title = "zerm" description = "A minimalistic and dark theme based on Radek Kozieł's theme for Hugo" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/ejmg/zerm.git" homepage = "https://github.com/ejmg/zerm" minimum_version = "0.8.0" @@ -23,7 +23,7 @@ homepage = "https://github.com/ejmg" a minimalist and dark theme for [Zola](https://getzola.org). -![screenshot](./screenshot.png) +![Screenshot](../master/zerm-preview.png?raw=true) [**Live Preview!**](https://zerm.ejmg.now.sh/) diff --git a/docs/content/themes/zola-henry/index.md b/docs/content/themes/zola-henry/index.md index 7e7e78d1..a054ecee 100644 --- a/docs/content/themes/zola-henry/index.md +++ b/docs/content/themes/zola-henry/index.md @@ -3,11 +3,11 @@ title = "henry" description = "A timeless blog theme" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/sirodoht/zola-henry" homepage = "https://github.com/sirodoht/zola-henry" minimum_version = "0.4.0" diff --git a/docs/content/themes/zola-paper/index.md b/docs/content/themes/zola-paper/index.md index 429267d6..70803a9a 100644 --- a/docs/content/themes/zola-paper/index.md +++ b/docs/content/themes/zola-paper/index.md @@ -3,11 +3,11 @@ title = "zola-paper" description = "A clean theme inspired from hugo-paper." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/schoenenberg/zola-paper.git" homepage = "https://github.com/schoenenberg/zola-paper" minimum_version = "0.11.0" @@ -16,7 +16,7 @@ demo = "https://schoenenberg.github.io/zola-paper" [extra.author] name = "Maximilian Schoenenberg" -homepage = "https://www.schoenenberg.dev" +homepage = "https://schoenenberg.dev" +++ # Zola-Paper @@ -27,6 +27,7 @@ A clean theme inspired from hugo-paper. **Demo:** [https://schoenenberg.github.com/zola-paper](https://schoenenberg.github.com/zola-paper) ![Screenshot](screenshot.png) +![Dark Mode Screenshot](screenshot_dark.png) ## Installation @@ -48,4 +49,29 @@ Either way, you will have to enable the theme in your `config.toml`. theme = "zola-paper" ``` +## Open Graph Integration + +This theme has an integration of Open Graph *meta* tags. These are set based on context and available information. See the following example: + +```markdown ++++ +title = "Lorem ipsum!" + +[extra] +author = "Max Mustermann" +author_url = "https://www.facebook.com/example.profile.3" +banner_path = "default-banner" + +[taxonomies] +tags = ["rust", "zola", "blog"] ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. + +Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, ... + +``` + +Required attributes of the `extra` section is `author`. All other attributes are optional. The path for the `banner_path` attribute has to be relative to the content directory. + \ No newline at end of file diff --git a/docs/content/themes/zola-pickles/index.md b/docs/content/themes/zola-pickles/index.md index 0a941de6..e5c51dcf 100644 --- a/docs/content/themes/zola-pickles/index.md +++ b/docs/content/themes/zola-pickles/index.md @@ -3,14 +3,14 @@ title = "pickles" description = "A modern, simple, clean blog theme for Zola." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/lukehsiao/zola-pickles.git" homepage = "https://github.com/lukehsiao/zola-pickles" -minimum_version = "0.11.0" +minimum_version = "0.13.0" license = "MIT OR Apache-2.0" demo = "" diff --git a/docs/content/themes/zola-theme-hikari/index.md b/docs/content/themes/zola-theme-hikari/index.md index fff63962..ecfd621b 100644 --- a/docs/content/themes/zola-theme-hikari/index.md +++ b/docs/content/themes/zola-theme-hikari/index.md @@ -3,11 +3,11 @@ title = "Hikari" description = "Fluid, responsive blog theme for Zola" template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/waynee95/zola-theme-hikari" homepage = "https://github.com/waynee95/zola-theme-hikari" minimum_version = "0.5.1" @@ -57,7 +57,7 @@ enable_mathjax = false ## License -[MIT](https://github.com/waynee95/zola-theme-hikari/blob/master/LICENSE) +[MIT](LICENSE) Thanks to [Mathieu Mayer-Mazzoli](https://github.com/mx3m) for creating this awesome theme! diff --git a/docs/content/themes/zola.386/index.md b/docs/content/themes/zola.386/index.md index 9bc08ff9..61cbc7eb 100644 --- a/docs/content/themes/zola.386/index.md +++ b/docs/content/themes/zola.386/index.md @@ -3,11 +3,11 @@ title = "zola.386" description = "Zola port of the BOOTSTRA.386 theme." template = "theme.html" -date = 2021-01-09T22:53:10+09:00 +date = 2021-02-18T22:27:50+01:00 [extra] -created = 2021-01-09T22:53:10+09:00 -updated = 2021-01-09T22:53:10+09:00 +created = 2021-02-18T22:27:50+01:00 +updated = 2021-02-18T22:27:50+01:00 repository = "https://github.com/lopes/zola.386" homepage = "https://github.com/lopes/zola.386" minimum_version = "0.10.1" @@ -21,7 +21,7 @@ homepage = "https://github.com/lopes" # ZOLA.386 -![ZOLA.386 screenshot](./screenshot.png) +![ZOLA.386 screenshot](https://github.com/lopes/zola.386/blob/master/screenshot.png?raw=true) ## [Live demo](https://zola386.netlify.app/)