Skip to content

Commit

Permalink
Update themes gallery (#1742)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
Keats and actions-user authored Jan 23, 2022
1 parent 96db523 commit a7abc84
Show file tree
Hide file tree
Showing 44 changed files with 893 additions and 256 deletions.
6 changes: 3 additions & 3 deletions docs/content/themes/DeepThought/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "DeepThought"
description = "A simple blog theme focused on writing powered by Bulma and Zola."
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/RatanShreshtha/DeepThought.git"
homepage = "https://github.com/RatanShreshtha/DeepThought"
minimum_version = "0.9.0"
Expand Down
6 changes: 3 additions & 3 deletions docs/content/themes/Ergo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "Ergo"
description = "A simple blog Theme focused on writing, inspired by svbtle"
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/InsidiousMind/Ergo.git"
homepage = "https://github.com/insipx/Ergo"
minimum_version = "0.4.1"
Expand Down
6 changes: 3 additions & 3 deletions docs/content/themes/Zulma/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "Zulma"
description = "A zola theme based off bulma.css"
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/Worble/Zulma"
homepage = "https://github.com/Worble/Zulma"
minimum_version = "0.6.0"
Expand Down
10 changes: 5 additions & 5 deletions docs/content/themes/adidoks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "adidoks"
description = "AdiDoks is a Zola theme helping you build modern documentation."
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/aaranxu/adidoks.git"
homepage = "https://github.com/aaranxu/adidoks"
minimum_version = "0.13.0"
Expand All @@ -21,7 +21,7 @@ homepage = "https://github.com/aaranxu"

# Zola Theme AdiDoks

AdiDoks is a mordern documentation theme, which is a port of the Hugo
AdiDoks is a modern documentation theme, which is a port of the Hugo
theme [Doks](https://github.com/h-enk/doks) for Zola.

## Demo
Expand Down Expand Up @@ -73,7 +73,7 @@ git submodule add https://github.com/aaranxu/adidoks.git themes/adidoks

### Step 3: Configuration

Enable the theme in your `config.toml` in the site derectory:
Enable the theme in your `config.toml` in the site directory:

```toml
theme = "adidoks"
Expand Down
24 changes: 21 additions & 3 deletions docs/content/themes/after-dark/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "after-dark"
description = "A robust, elegant dark theme"
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/getzola/after-dark.git"
homepage = "https://github.com/getzola/after-dark"
minimum_version = "0.11.0"
Expand All @@ -29,6 +29,7 @@ homepage = "https://www.vincentprouillet.com"
- [Options](#options)
- [Top menu](#top-menu)
- [Title](#title)
- [Author](#author)

## Installation
First download this theme to your `themes` directory:
Expand Down Expand Up @@ -86,6 +87,23 @@ The site title is shown on the homepage. As it might be different from the `<tit
element that the `title` field in the config represents, you can set the `after_dark_title`
instead.

### Author
You can set this on a per page basis or in the config file.

`config.toml`:
```toml
[extra]
author = "John Smith"
```
In a page (wrap this in +++):
```toml
title = "..."
date = 1970-01-01

[extra]
author = "John Smith"
```

## Original
This template is based on the Hugo template https://git.habd.as/comfusion/after-dark

Expand Down
51 changes: 32 additions & 19 deletions docs/content/themes/anatole-zola/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "anatole-zola"
description = "A port of farbox-theme-Anatole for zola"
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/longfangsong/anatole-zola.git"
homepage = "https://github.com/longfangsong/anatole-zola"
minimum_version = "0.4.0"
Expand All @@ -21,14 +21,14 @@ homepage = "https://github.com/longfangsong"

# Anatole Theme for Zola

Port [Anatole theme for farbox](https://github.com/hi-caicai/farbox-theme-Anatole) to Zola.

*[Anatole theme for Farbox](https://github.com/hi-caicai/farbox-theme-Anatole) ported to Zola*
___
[Zola Homepage](https://www.getzola.org/themes/anatole-zola/) | [Demo with customizations](https://longfangsong.github.io/)
___
![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:
Expand Down Expand Up @@ -59,17 +59,17 @@ base_url = "https://example.com"

### Language

Currently, we have English and Chinese translation, set the `default_language` if necessary:
Currently, we have English, Chinese and German translations, 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`:
If there are complications, you can copy this snippet to your `config.toml`:

```toml
[translations.en]
[languages.en.translations]
about = "About"
home = "Home"
tags = "Tags"
Expand All @@ -78,17 +78,27 @@ links = "Links"
next_page = "Next Page"
last_page = "Last Page"

[translations.zh]
[languages.zh.translations]
home = "首页"
about = "关于"
tags = "标签"
archive = "归档"
links = "友链"
next_page = "下一页"
last_page = "上一页"

[languages.de.translations]
about = "Info"
home = "Home"
tags = "Kategorien"
archive = "Archiv"
links = "Links"
date_format = "%d-%m-%Y"
next_page = "Nächste Seite"
last_page = "Vorherige Seite"
```

Feel free to create a pull request if you want to translate the promotes into other languages!
Feel free to create a pull request if you want to translate the theme into other languages!

### Sections

Expand All @@ -112,7 +122,7 @@ Tags and links sections are optional.
links = true
```

and copy `content/links` to your own `content` library. And edit the `_index.md` in it to edit its content.
and copy `content/links` to your own `content` library. And edit the `_index.md` in it to modify its content.

- If you want to add the author's name on each page, add:

Expand All @@ -123,11 +133,12 @@ Tags and links sections are optional.

### Sidebar menu

We support a bunch of social links, they are:
We support a bunch of social links:

```toml
[extra.social]
github = ""
stackoverflow = "" # use user_id
twitter = ""
facebook = ""
instagram = ""
Expand All @@ -143,7 +154,9 @@ Fill in your username if you want! And the logo won't appear if you leave it emp

### Comment system

We currently support [valine](https://valine.js.org/quickstart.html):
We currently support...

- [Valine](https://valine.js.org/quickstart.html):

```toml
[extra.comment.valine]
Expand All @@ -155,14 +168,14 @@ avatar = "mm" # avatar style https://github.com/xCss/Valine/wiki/avatar-setting-
placeholder = "Say something here"
```

[disqus](https://disqus.com/admin/create/), note disqus does not work in Mainland China:
- [Disqus](https://disqus.com/admin/create/), note that Disqus does not work in Mainland China:

```toml
[extra.comment.disqus]
name = "longfangsong"
```

And [utterances](https://utteranc.es/):
- [Utterances](https://utteranc.es/):

```toml
[extra.comment.utterances]
Expand All @@ -174,7 +187,7 @@ theme = "github-light"

## Customize

There are several points I left in the origin templates for you to customize your site.
There are several options I left in the origin templates for you to customize your site.

### More style

Expand All @@ -198,6 +211,6 @@ You can add more social links by adding a `templates.html` with some content add
{%/* endblock */%}
```

If you want to use some awsome logos, [font awsome icons](https://fontawesome.com/icons?d=gallery) are already available.
If you want to use some awesome logos, [FontAwesome icons](https://fontawesome.com/icons?d=gallery) are already available.

6 changes: 3 additions & 3 deletions docs/content/themes/anpu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
title = "Anpu"
description = "A port of the Hugo Anubis theme"
template = "theme.html"
date = 2022-01-17T03:13:30+08:00
date = 2022-01-23T23:20:14+01:00

[extra]
created = 2022-01-17T03:13:30+08:00
updated = 2022-01-17T03:13:30+08:00
created = 2022-01-23T23:20:14+01:00
updated = 2022-01-23T23:20:14+01:00
repository = "https://github.com/zbrox/anpu-zola-theme.git"
homepage = "https://github.com/zbrox/anpu-zola-theme"
minimum_version = "0.11.0"
Expand Down
Loading

0 comments on commit a7abc84

Please sign in to comment.