Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

规范项目文件及目录结构 #140

Open
3 tasks
Errant404 opened this issue Jun 10, 2024 · 0 comments
Open
3 tasks

规范项目文件及目录结构 #140

Errant404 opened this issue Jun 10, 2024 · 0 comments
Assignees

Comments

@Errant404
Copy link
Member

此前一直使用 Github 作为图床,直到 2023-05-09,官方出于安全和隐私考虑做出了访问限制。

此前的解决方案是创建 content/posts/images 目录,并将相关图片放置其中。但关于 Hugo 的内容组织,正确的实践是创建一个文件夹,把每篇文章的相关内容放在一起,包括文本和其他资源文件,其中文本文件命名为 index.md,具体参考官方文档

To Do List

  • 删除 .DS_store,并添加到 .gitignore 中
  • content/posts/images 目录下文件整理至相关文章目录下,static 目录下的部分文件也需要重新整理
  • Pic #60 中图片整理至相关文章目录下(可选,工作量较大)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants