Initial commit
This commit is contained in:
commit
4e10967600
40 changed files with 1650 additions and 0 deletions
18
content/tutorials/more-features/_index.md
Normal file
18
content/tutorials/more-features/_index.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
+++
|
||||
title = 'More features'
|
||||
weight = 20
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Most tutorials in this section are still empty but are there regardless
|
||||
to show you what kind of content to expect once they are done.
|
||||
{{< /warning >}}
|
||||
|
||||
Let's look at some of the functionalities Silicate provides.
|
||||
|
||||
You should read [Getting started]({{% relref "tutorials/getting-started/" %}}) first!
|
||||
|
||||
And if you are fine with how your website looks already, you can skip to
|
||||
[publishing your website]({{% relRef "tutorials/publishing-online" %}}).
|
||||
|
||||
We'll continue using [Pepper & Carrot](https://www.peppercarrot.com/fr/) by David Revoy as an example.
|
28
content/tutorials/more-features/adding-translations.md
Normal file
28
content/tutorials/more-features/adding-translations.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
+++
|
||||
title = 'Adding translations'
|
||||
show_toc = true
|
||||
weight = 30
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Configuration for multiple languages
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## Translating the website
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## Translating pages
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
71
content/tutorials/more-features/built-in-features.md
Normal file
71
content/tutorials/more-features/built-in-features.md
Normal file
|
@ -0,0 +1,71 @@
|
|||
+++
|
||||
title = 'Silicate configurations'
|
||||
show_toc = true
|
||||
weight = 20
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
|
||||
Screenshot will be added to show the result of possible configurations.
|
||||
{{< /warning >}}
|
||||
|
||||
Silicate has built-in feature that you can configure from
|
||||
your `hugo.toml` file.
|
||||
|
||||
Most of them are described in the `themes/silicate/hugo.toml` file as
|
||||
well. You should have a look here to see how they are organised.
|
||||
|
||||
All these configurations go into the `params.silicate` table, so
|
||||
if you don't have one already, you can copy the one from
|
||||
`themes/silicate/hugo.toml` or add the following to your config:
|
||||
|
||||
```
|
||||
[params]
|
||||
...
|
||||
[params.silicate]
|
||||
# All configuration will go here
|
||||
```
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Global features
|
||||
|
||||
### Disabling Silicate branding
|
||||
|
||||
If you want to remove the "Made with the Silicate Framework!" message
|
||||
at the bottom of pages, you can simply do so by adding the following configuration:
|
||||
|
||||
`show_notice = false`
|
||||
|
||||
## Comic pages features
|
||||
|
||||
All comic pages configurations go into the `params.silicate.pages` table, like so:
|
||||
|
||||
```
|
||||
[params]
|
||||
...
|
||||
[params.silicate]
|
||||
...
|
||||
[params.silicate.pages]
|
||||
# All pages configuration will go here
|
||||
```
|
||||
|
||||
### Navbar location
|
||||
|
||||
By default, Silicate will render a navigation bar below and above
|
||||
the comic's strips.
|
||||
|
||||
If you want the nav bar to be only below the comic's strips, you can
|
||||
add the following configuration:
|
||||
|
||||
`nav_above_page = false`
|
||||
|
||||
### Chapter navigation
|
||||
|
||||
By default, if you [group your pages into chapters]({{% relRef "tutorials/more-features/chapters-and-acts" %}}),
|
||||
Silicate will add a button to navigate to the previous and next chapter of the current page.
|
||||
|
||||
If you want to disable that, you can add the following configuration:
|
||||
|
||||
`show_chapter_nav = false`
|
29
content/tutorials/more-features/chapters-and-acts.md
Normal file
29
content/tutorials/more-features/chapters-and-acts.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
+++
|
||||
title = 'Grouping pages into chapters, acts, etc.'
|
||||
show_toc = true
|
||||
weight = 10
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
<!--more-->
|
||||
|
||||
## How to group your pages
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## Ordering groups
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## Silicate limitations
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
33
content/tutorials/more-features/custom-css.md
Normal file
33
content/tutorials/more-features/custom-css.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
+++
|
||||
title = 'Using custom CSS'
|
||||
show_toc = true
|
||||
weight = 50
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
This tutorial assumes you know how CSS and HTML work.
|
||||
|
||||
If you do not, you should probably look up a guide for that first.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Custom CSS location
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## CSS vs SCSS
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
||||
|
||||
## How to customise the website
|
||||
|
||||
{{< warning >}}
|
||||
Currently under construction.
|
||||
{{< /warning >}}
|
22
content/tutorials/more-features/multiple-comics.md
Normal file
22
content/tutorials/more-features/multiple-comics.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
+++
|
||||
title = 'Multiples comics in a single website'
|
||||
show_toc = true
|
||||
weight = 40
|
||||
+++
|
||||
|
||||
{{< warning >}}
|
||||
Currently under redaction.
|
||||
{{< /warning >}}
|
||||
|
||||
<!--more-->
|
||||
|
||||
## It's just like creating a normal comic
|
||||
|
||||
{{< warning >}}
|
||||
Currently under redaction.
|
||||
{{< /warning >}}
|
||||
|
||||
## Telling Hugo the type of the pages
|
||||
{{< warning >}}
|
||||
Currently under redaction.
|
||||
{{< /warning >}}
|
Loading…
Add table
Add a link
Reference in a new issue