Skip to content

posts in /blogs subdirectory #21

Open
@DyslexicAtheist

Description

@DyslexicAtheist

Hi,

sorry for this beginner question ... I'm struggling having all my blog posts inside a content/blog directory and reserve content/foo for menu-navigation in the topnav, like this:

after_dark_menu = [
  {url = "$BASE_URL/", name = "Home"},
  {url = "$BASE_URL/download", name = "Download"},
  {url = "$BASE_URL/support", name = "Support"},
  {url = "$BASE_URL/company", name = "Company"},
  {url = "$BASE_URL/blog", name = "Blog"},
]

currently it looks like:

content/
├── blog
│   ├── hello-world.md
│   └── _index.md
├── company
│   └── index.md
├── download
│   └── index.md
├── home.md
├── _index.md
└── support
    └── index.md

The documentation explicitly says that all blogs must go into content/ and content/_index.md should set paginate_by = 5.

How can I set have my root / correctly rendered to a static fixed page that always has the same content? It seems this is impossible according to the docs?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions