Init new template and style
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: "示例博客文章"
|
||||
date: 2024-01-15
|
||||
author: "作者姓名"
|
||||
description: "这是一篇示例博客文章,展示中文内容的格式。"
|
||||
categories: ["示例"]
|
||||
tags: ["hugo", "多语言"]
|
||||
featured_image: "/images/blog/blog-1.jpg"
|
||||
---
|
||||
|
||||
## 介绍
|
||||
|
||||
这是一篇示例博客文章,演示如何为Hugo Saasify主题创建中文内容。
|
||||
|
||||
## 内容结构
|
||||
|
||||
要创建多语言内容:
|
||||
|
||||
1. 在 `content/zh-cn/` 目录中创建文件
|
||||
2. 保持与英文内容相同的文件结构
|
||||
3. 翻译front matter和正文内容
|
||||
|
||||
## 更多信息
|
||||
|
||||
查看主题文档了解更多关于多语言支持的信息。
|
||||
Reference in New Issue
Block a user