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

URLs and Slugs page examples #213

Open
alan-cugler opened this issue May 18, 2018 · 0 comments
Open

URLs and Slugs page examples #213

alan-cugler opened this issue May 18, 2018 · 0 comments

Comments

@alan-cugler
Copy link

This is kind of a silly issue, but there are several paragraphs on how extensively versatile these two features are, at this link. Then there is a small example of how it might look in the .ini and .html files here.

However, I had to actually guess at how to link the pages together when I input the file path for root from the CMS.

model.ini code snippet:

[fields.link]
label = URL or File Link
type = url

model.html code snippet:
<a href="{{ this.link }}">

Then in the CMS I finally just put a "/" in the input box, after trying (and failing) to find an example of how to link home. I'm probably just not good at understanding those complex paragraphs of explanation, but the examples of code used to teach a feature are worth a thousand words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants