
This theme is created using ancient methods and does not rely on third-party frameworks.
Current version 0.2.6,last update 2023/10/30
Fields under [Params]
Site description.
[string]['story']Pages places under this/those sections will be shown on homepage and archive page.
In order to use a language, set DefaultContentLanguage to the language code in the configuration file.
en Englishzh-cnChinese (Simplified)For example, if you want to use English, set DefaultContentLanguage to en.
Create a memo folder inside the content directory, where the normal Markdown (.md) article files will be placed:
hugo new content/memo/1.md
Site Parameters Configuration
[Params]
mainSections = ['story','memo']
If you want to use a different alias, you can do so by replacing memo with the alias of your choice.
To use a template for your desired page, such as for the travel category, follow these steps:
content directory in your file system._index.md within the categories/travel directory. This file will represent the main page for the travel category._index.md file and add the following content:---
title: Travel
layout: travel
---
Save the file, and you’re done. The template named travel will be used to render the travel category page.
Make sure you have the necessary templates and configurations in place to support the travel layout.
Please note that travel is the category slug. To display a separate category name, you can customize the title in the front matter of the _index.md file.
To set the faves field in the _index.md file under the gears directory in the content directory, follow the format below:
gears directory._index.md file and add the following content:---
title: "Gears"
subtitle: "my fuji gears"
date: 2021-03-06T15:39:00-06:00
draft: false
faves:
[
{
"title": "instax mini 40™",
"cover": "https://static.fatesinger.com/2023/05/3fmdvfzy5kwu320q.png",
"cat": "Gear",
"brand": "FujiFilm",
},
{
"title": "Sofort",
"cover": "https://static.fatesinger.com/2023/10/tlp9i57mnbamhapp.png",
"cat": "Gear",
"brand": "Leica",
},
{
"title": "X100V",
"cover": "https://static.fatesinger.com/2022/04/4pc5qctiddj2uy6g.png",
"cat": "Gear",
"brand": "FujiFilm",
},
]
---
my gear
Indeed, storing the data in the post’s front matter (metadata) is a convenient and efficient way to manage content using Markdown.
Scan qrcode loginhttps://node.wpista.com/
input you douban id, click save.
Click Get integration token will generate a token.
New content movies/_index.md, replace the token with yours
---
title: "Movies"
description: "hi"
token: "2bfb9a8d037a7352c9d369b85d33ac83e39a"
---
Insert subject url with a single line.
https://movie.douban.com/subject/35451890/
