跳转到内容

Project File Structure

此内容尚不支持你的语言。

Understanding the folder structure is key to mastering HugoBlox.

  • 文件夹.github/ # GitHub’s workflow to automatically deploy your site
  • 文件夹assets/
    • 文件夹media/ # Images, icons, and videos
    • 文件夹css/ # Any custom styles
  • 文件夹config/
    • 文件夹_default/ # Configuration files (hugo.yaml, params.yaml)
  • 文件夹content/ # Your markdown content
  • 文件夹layouts/ # Any custom HTML overrides
  • 文件夹static/ # Static files served as-is (CNAME)
    • 文件夹uploads/ # Uploads (resume.pdf)
  • hugoblox.yaml # HugoBlox template metadata
  • go.mod # List of installed Hugo modules
  • netlify.toml # If you host your site with Netlify
DirectoryDescription
content/Where you write your posts, pages, and publications. This mirrors your site’s URL structure.
assets/Assets processed by Hugo (Images, Videos, Custom Styles).
static/Files copied directly to the public/ folder without processing. Useful for SEO verification files.
config/Site settings. Split into multiple files for better organization (params.yaml, menus.yaml).
layouts/Used to override built-in layouts or create custom blocks/hooks.