jandecaluwe / urubu

A micro CMS for static websites, with a focus on good navigation practices.
urubu.jandecaluwe.com
GNU Affero General Public License v3.0
179 stars 36 forks source link

Undefined reference: #57

Closed bretonio closed 7 years ago

bretonio commented 7 years ago

May I ask a naive question? In the root of my project alongside the more dropdown menu I have created a new folder with an index.md as follows:


---
title: Engenhos A-M
layout: index
dropdown: true
content:
    - acrylamid
    - brunch
    - cactus
    - docpad
    - engineer
    - grow
    - hugo
    - hexo
    - jekyll
    - jigsaw
    - lektor
    - middleman

---

As you can see, these are examples of static site generators. Each will have a manual page à la middleman.md with a briefing and basic rundown on the project in Brazilian Portuguese. There will be a Engenhos N-Z folder as well, of course.

Now when I go to urubu build and debug I receive the message undefined reference: acrylamid

Oh, but wait, wait.

You know what it was?

A reference id is not assigned to markdown files without front matter.

[Bonks forehead] ...

I ported this project over from attempts to make material-docs in Hugo and Mkdocs work for my needs. Previous and next navigation for example. Do not need it in the navbar, where I want to create several dropdowns.

leouieda commented 7 years ago

Hi @bretonio, I don't understand what the issue is about. Were you able to solve the problem? The front matter is required to set basic parameters of the page (title, date, template, etc).

bretonio commented 7 years ago

Hi, yes, I answered my own question in the process of formulating it, thank you.

On Wed, Oct 5, 2016 at 6:45 PM, Leonardo Uieda notifications@github.com wrote:

Hi @bretonio https://github.com/bretonio, I don't understand what the issue is about. Were you able to solve the problem? The front matter is required to set basic parameters of the page (title, date, template, etc).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jandecaluwe/urubu/issues/57#issuecomment-251808955, or mute the thread https://github.com/notifications/unsubscribe-auth/ATmAq51A5VyGFSIksTHTJOMo3vH0lWYHks5qxBqNgaJpZM4KO_JZ .

leouieda commented 7 years ago

👍