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

posts in /blogs subdirectory #21

Open
DyslexicAtheist opened this issue Aug 2, 2020 · 1 comment
Open

posts in /blogs subdirectory #21

DyslexicAtheist opened this issue Aug 2, 2020 · 1 comment

Comments

@DyslexicAtheist
Copy link

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

@Keats
Copy link
Collaborator

Keats commented Aug 2, 2020

If you want to deviate from the theme, I would recommend just copying the templates/static/sass from the theme into their respective root folders and modify them directly.

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

2 participants