|
@@ -98,7 +98,7 @@ The following color themes are available and can be set by the `color_theme` opt
|
|
|
| --- | --- |
|
|
|
| |  |
|
|
|
|
|
|
-| `forest` | `coffee` |
|
|
|
+| `forest` | `coffee` + `playfair` font |
|
|
|
| --- | --- |
|
|
|
|  |  |
|
|
|
|
|
@@ -162,6 +162,13 @@ For further details on Hugo's internationalization and multilingual features, re
|
|
|
|
|
|
Where `:slug` defaults to the filename of the post, excluding the file extension. However, slug may be overridden on a per post basis if desired, simply by setting `slug = "my-short-post-title"` in your post preamble.
|
|
|
|
|
|
+**Example 2:** let's consider changing the URL path of posts from `post/` to `blog/`. First, add the following parameters right above the `[params]` section of your `config.toml`:
|
|
|
+```
|
|
|
+[permalinks]
|
|
|
+ post = "/blog/:slug"
|
|
|
+```
|
|
|
+Then add `aliases = ["/blog/"]` to your post archive page `post/_index.md` so that it can be accessed from the */blog/* URL.
|
|
|
+
|
|
|
### Advanced style customization (CSS)
|
|
|
|
|
|
For advanced customization of the style, you can link custom CSS assets (relative to your root `static/css`) from your `config.toml` using `custom_css = ["custom.css"]`.
|