跳转到内容

Create Content

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

HugoBlox supports various content types to structure your website effectively, from blog posts to event pages.

Accelerate your content delivery and forget about distractions. HugoBlox empowers you to visually manage everything from publications to blog posts directly in VS Code, so you can focus purely on your research.

Choose your preferred way to create content:

The Lore Studio extension for VS Code provides a visual interface for managing content.

  1. Open the HugoBlox sidebar in VS Code.
  2. Click the + (Create) button next to a content collection (e.g. Posts).
  3. Enter a title and press Enter.

Page

Standard pages like “About” or “Contact”. Located in content/.

Post

Blog articles, news, or updates. Located in content/post/.

Publication

Academic papers, journals, or conference proceedings. Located in content/publication/.

Event

Talks, conferences, or workshops. Located in content/event/.

Slides

Reveal.js presentations created with Markdown. Located in content/slides/.

Project

Showcase your work or case studies. Located in content/project/.

Organizing your files correctly ensures they appear in the right section of your site.

  • 文件夹content/
    • _index.md # Homepage (Landing Page)
    • about.md # Standard Page
    • 文件夹post/
      • my-first-post.md
    • 文件夹slides/
      • 文件夹my-talk/
        • index.md # Presentation slides
    • 文件夹publication/
      • 文件夹journal-article/
        • index.md # Page Bundle (Folder + Assets)
        • cite.bib # Citation file
        • featured.jpg # Featured image
    • 文件夹event/
      • conference.md

Copy these YAML blocks to the top of your Markdown files to configure them.

Use for standard pages like “About” or “Privacy Policy”.

---
title: About Me
date: 2023-01-01
type: page
---

The homepage is usually defined in content/_index.md.

---
title: Home
type: landing
sections:
- block: hero
content: ...
---

Best created as a Page Bundle (folder with index.md) so you can include a PDF and citation.

---
title: "My Research Paper"
date: 2023-09-01
publication_types: ["article-journal"]
publication: "*Journal of Science*"
abstract: "This is the abstract..."
featured: true
links:
- name: PDF
url: paper.pdf
---

Showcase your work.

---
title: "My App"
type: project
summary: "Short teaser for the project card."
featured: true
repo: "https://github.com/..."
links:
- name: Demo
url: "https://..."
---

For conferences, talks, or webinars.

---
title: "Conference Talk"
type: event
event: "AI Research Conference"
event_url: "https://example.com"
location: Online & In-Person
# Talk start and end times.
date: '2030-06-01T13:00:00Z'
date_end: '2030-06-01T15:00:00Z'
# Link to content/slides/my-presentation/
slides: "my-presentation"
abstract: "Join us to explore HugoBlox..."
---

Create a folder in content/slides/ with an index.md.

---
title: "My Presentation"
date: 2024-06-15
type: slides
slides:
theme: black
diagram: true
---
# My Presentation
---
## Slide 2