-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from IPlayZed/dev
Themes change.
- Loading branch information
Showing
34 changed files
with
1,331 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Speyll Lyes | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
# anemone | ||
|
||
Introducing "anemone," a minimalist [Zola](https://www.getzola.org) theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas. | ||
|
||
You can browse the demo website [here](https://anemone.pages.dev/) | ||
I also use it on my own [website.](https://speyllsite.pages.dev/) | ||
|
||
Anemone is a versatile Zola theme that comes with both light and dark variants. You can easily switch between the light and dark themes to suit your preferences. | ||
|
||
![Anemone Light and Dark Theme](screenshot.png) | ||
|
||
### Installation | ||
|
||
To get started with Anemone, follow these simple steps: | ||
|
||
1. Download the theme to your `themes` directory: | ||
|
||
```bash | ||
cd themes | ||
git clone https://github.com/Speyll/anemone | ||
``` | ||
|
||
2. Enable Anemone in your `config.toml`: | ||
|
||
```toml | ||
theme = "anemone" | ||
``` | ||
|
||
### Options | ||
|
||
Anemone provides various options to customize your website: | ||
|
||
#### Default Taxonomies | ||
|
||
To use tags, add the following code to a page's metadata: | ||
|
||
```toml | ||
[taxonomies] | ||
tags = ["tag1", "tag2"] | ||
``` | ||
|
||
#### Pages List in Homepage | ||
|
||
Enable listing of pages in the homepage by adding the following code to `config.toml`: | ||
|
||
```toml | ||
[extra] | ||
list_pages = true | ||
``` | ||
|
||
#### Multilanguage | ||
|
||
The theme has a built-in feature that allows you to use multiple languages. For detailed instructions on how to use this feature, you can refer to the [Zola Multilingual documentation](https://www.getzola.org/documentation/content/multilingual/). This documentation provides additional information on how to make the most out of this multilingual capability. | ||
|
||
```toml | ||
[languages.fr] | ||
weight = 2 | ||
title = "anemone" | ||
languageName = "Français" | ||
languageCode = "fr" | ||
``` | ||
#### Multilanguage-Ready Navigation Bar | ||
|
||
Customize the header navigation links with the following code in the `extra` section of `config.toml`: | ||
|
||
```toml | ||
[extra] | ||
|
||
header_nav = [ | ||
{ url = "/", name_en = "/home/", name_fr = "/accueil/" }, | ||
{ url = "/about", name_en = "/about/", name_fr = "/concernant/" }, | ||
{ url = "/journal", name_en = "/journal/", name_fr = "/journal/" }, | ||
{ url = "/blog", name_en = "/blog/", name_fr = "/blog/" } | ||
] | ||
``` | ||
|
||
#### Default Theme | ||
|
||
To configure the default theme, simply utilize the `default_theme` variable and set it to either `light` or `dark`: | ||
|
||
```toml | ||
[extra] | ||
default_theme = "light" | ||
``` | ||
|
||
#### Display Author Name in Blog Posts | ||
|
||
Customize the display of the author's name in your blog posts by toggling the `display_author` variable to either `true` or `false`: | ||
|
||
```toml | ||
[extra] | ||
display_author = true | ||
``` | ||
|
||
### Webrings | ||
|
||
Add a webring with a shortcode: | ||
|
||
```html | ||
{{ webring(prev="#", webring="#", webringName="Random Webring", next="#") }} | ||
``` | ||
|
||
#### Add Table of Contents (TOC) to Pages | ||
|
||
In a page's frontmatter, set `extra.toc` to `true`: | ||
|
||
```toml | ||
[extra] | ||
toc = true | ||
``` | ||
|
||
### Extra Data | ||
|
||
- Set the `author` in both the main config and in pages' metadata. | ||
- Use the `image` variable in pages to add an image to HTML `<meta>` tags. | ||
- Similarly, set `favicon` in the main config, and it will be used as the site icon. | ||
|
||
#### Disable Twitter Card | ||
|
||
Twitter metatags are generated by default. To disable them, set `extra.twitter_card` to `false` in `config.toml`: | ||
|
||
```toml | ||
[extra] | ||
twitter_card = true | ||
``` | ||
|
||
### License | ||
|
||
The Anemone theme is available as open source under the terms of the [MIT License](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
base_url = "https://anemone.pages.dev" | ||
description = "A minimalist Zola theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas." | ||
compile_sass = false | ||
minify_html = true | ||
generate_feed = true | ||
default_language = "en" | ||
|
||
taxonomies = [ | ||
{name = "tags", feed = true}, | ||
] | ||
|
||
[languages.fr] | ||
weight = 2 | ||
languageName = "Français" | ||
languageCode = "fr" | ||
|
||
[markdown] | ||
render_emoji = true | ||
external_links_target_blank = true | ||
smart_punctuation = true | ||
highlight_code = false | ||
highlight_theme = "gruvbox-dark" | ||
|
||
[slugify] | ||
paths = "on" | ||
taxonomies = "on" | ||
anchors = "on" | ||
|
||
[link_checker] | ||
internal_level = "warn" | ||
|
||
[extra] | ||
author = "Speyll" | ||
display_author = true | ||
|
||
favicon = "favicon.ico" | ||
image = "" | ||
|
||
default_theme = "light" | ||
list_pages = false | ||
twitter_card = true | ||
|
||
header_nav = [ | ||
{ url = "/", name_en = "/home/", name_fr = "/accueil/" }, | ||
{ url = "/about", name_en = "/about/", name_fr = "/concernant/" }, | ||
{ url = "/journal", name_en = "/journal/", name_fr = "/journal/" }, | ||
{ url = "/blog", name_en = "/blog/", name_fr = "/blog/" } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
+++ | ||
+++ | ||
|
||
## Aperçu | ||
|
||
Le thème anemone est conçu pour offrir une expérience quasi sans JavaScript, efficace et minimaliste pour votre site web. Adoptant la simplicité, le thème met l'accent sur le contenu et la lisibilité, garantissant une expérience utilisateur fluide sans distractions inutiles. | ||
|
||
> *"Bloc de citation inutile"* | ||
## Articles de Blog | ||
|
||
Explorez nos articles de blog instructifs sur une variété de sujets : | ||
|
||
- 🥣 [Article de présentation](./blog/overview-post) | ||
- 🈚 [Tests de Langue](./blog/language-tests) | ||
- 🔥 [Titre Très Très Très Long et Contenu Très Très Très Court](./blog/very-very-very-long-title-and-very-very-very-short-content) | ||
- 📺 [Exemple d'Article avec Titres et TOC](./blog/post-example-with-headings-and-toc) | ||
|
||
## Étiquettes | ||
|
||
Parcourez nos articles par étiquettes : | ||
|
||
- [exemple](./tags/example) | ||
|
||
## Une Autre Liste | ||
|
||
Découvrez du contenu supplémentaire : | ||
|
||
- Avec des sous-éléments | ||
- Avec des sous-sous-éléments | ||
- [Exemple de Page](./about) | ||
- Cette liste correspond simplement au contenu de `content/_index.md`, les tests sont honteusement volés depuis [no style, please!](https://www.getzola.org/themes/no-style-please/) | ||
|
||
## Présence en Ligne | ||
|
||
Restez connecté avec nous : | ||
|
||
- Email : [[email protected]](mailto:[email protected]) | ||
- Dépôts de Code : [Speyll@GitHub](https://github.com/Speyll) | ||
- @Speyll partout ailleurs. | ||
|
||
## Anneaux Web | ||
|
||
Rejoignez nos anneaux web et explorez davantage : | ||
|
||
- 🈯 {{ webring(prev="#", webring="#", webringName="Anneau Aléatoire", next="#") }} | ||
- 🎶 {{ webring(prev="#", webring="#", webringName="Autre Anneau", next="#") }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
+++ | ||
+++ | ||
|
||
## Overview | ||
|
||
anemone theme is designed to provide a nearly no-JavaScript, efficient, and minimalist experience for your website. Embracing simplicity, the theme focuses on content and readability, ensuring a seamless user experience without unnecessary distractions. | ||
|
||
> *"Useless blockquote"* | ||
## Blog Posts | ||
|
||
Explore our insightful blog posts on a variety of topics: | ||
|
||
- 🥣 [Overview Post](./blog/overview-post) | ||
- 🥣 [Overview Post But in French](./fr/blog/overview-post) | ||
- 🈚 [Language Tests](./blog/language-tests) | ||
- 🔥 [Very Very Very Long Title And Very Very Very Short Content](./blog/very-very-very-long-title-and-very-very-very-short-content) | ||
- 📺 [Post Example With Headings And TOC](./blog/post-example-with-headings-and-toc) | ||
|
||
## Tags | ||
|
||
Browse our posts by tags: | ||
|
||
- [example](./tags/example) | ||
|
||
## Another List | ||
|
||
Discover additional content: | ||
|
||
- With Subitems | ||
- With Subsubitems | ||
- [Example Page](./about) | ||
- this list is just the content of `content/_index.md`, the tests are shamelessly stolen from [no style, please!](https://www.getzola.org/themes/no-style-please/) | ||
|
||
## Online Presence | ||
|
||
Stay connected with us: | ||
|
||
- Email: [[email protected]](mailto:[email protected]) | ||
- Code Repositories: [Speyll@GitHub](https://github.com/Speyll) | ||
- @Speyll anywhere else. | ||
|
||
## Webrings | ||
|
||
Join our webrings and explore more: | ||
|
||
- 🈯 {{ webring(prev="#", webring="#", webringName="Random Webring", next="#") }} | ||
- 🎶 {{ webring(prev="#", webring="#", webringName="Another Webring", next="#") }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
+++ | ||
title = "About" | ||
+++ | ||
This is an about page, nothing more nothing less `forget about it`. | ||
|
||
{{ youtube(id="pS6zJ7IsJkM" class="textCenter") }} |
Oops, something went wrong.