Files
MollyBlog/config.yaml

108 lines
2.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# app config #
host: 0.0.0.0
port: 8080
cache_path: tmp
# use this secret to update your posts
update_endpoint: /update
update_secret: 123456
# configure object storage to automatically obtain article updates
storage:
src: _blog/src/post
dst: _blog/dst/post
auto_pull: true
type: COS
cos:
appid:
bucket:
region:
secret_id:
secret_key:
save_path:
# website template directory
template: templates/default
# site config #
site:
# basic info
info:
logo: /assets/img/logo.png
link: https://yvling.cn
motto:
- I hope I can make it out of here.
- I hope that I can still feel the sun on my face, and hear the sound of the rain.
- I hope that I can walk with my head held high again, free, and one day be able to say,
- Im not just living,
- Im truly alive.
- <br>
- —— Andy Dufresne
title: Molly Blog
author: yvling
email: yvling.cn@outlook.com
language: en
copyright: Copyright © 2024 Powered by <a href="https://github.com/yv1ing/MollyBlog">MollyBlog</a>
description: A simple and easy-to-use blog
# menu config
menu:
items:
- name: Home
icon: fa-solid fa-house
url: /
- name: Archive
icon: fa-solid fa-box-archive
url: /archive
- name: Friends
icon: fa-solid fa-user-group
url: /friend
- name: About
icon: fa-solid fa-circle-info
url: /about
- name: RSS
icon: fa-solid fa-rss
url: /rss
# post config
post:
toc_title: Content
# title and number of post displayed per page
recent_post:
title: Recent Posts
number: 10
archive:
title: Archive
number: 15
search:
title: Search
number: 15
category:
title: Category
number: 15
tag:
title: Tag
number: 15
# about config
about:
title: About
src: _blog/src/about
dst: _blog/dst/about
filename: index
# friends link
friend:
title: Friends
list:
- name:
link:
avatar:
description:
statistics:
enable: false
type: baidu
baidu: