blog/config.yaml
jolheiser 9978b12eac Index JSON (#249)
This will expose a JSON endpoint with all the pages and some meta.

It would allow us to, for example, filter posts by `tag` and maybe link to them from our main docs.

e.g. a follow-up PR to tag any "feature preview"-style posts and then link to them from our docs.

Reviewed-on: gitea/blog#249
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-04-11 22:30:13 +08:00

67 lines
1.3 KiB
YAML

baseurl: https://blog.gitea.io/
languageCode: en-us
title: Blog
theme: gitea
defaultContentLanguage: en-us
defaultContentLanguageInSubdir: true
enableMissingTranslationPlaceholders: true
enableEmoji: true
permalinks:
post: /:year/:month/:title/
doc: /:slug/
page: /:slug/
default: /:slug/
params:
description: Git with a cup of tea
author: Gitea
website: https://blog.gitea.io
outputs:
home:
- HTML
- RSS
- JSON
menu:
page:
- name: Website
url: https://gitea.io/en-us/
weight: 10
pre: home
- name: Docs
url: https://docs.gitea.io/en-us/
weight: 20
pre: question
- name: API
url: https://try.gitea.io/api/swagger
weight: 45
pre: plug
- name: Blog
url: /
weight: 30
pre: rss
post: active
- name: Shop
url: https://shop.gitea.io/
weight: 40
pre: shopping-cart
- name: Downloads
url: https://dl.gitea.io/
weight: 50
pre: download
- name: GitHub
url: https://github.com/go-gitea/
weight: 60
pre: github
- name: Discord Chat
url: https://discord.gg/Gitea
weight: 70
pre: comment
- name: Forum
url: https://discourse.gitea.io/
weight: 80
pre: group