These are chat archives for jescalan/roots
get-page-name.jsis just a little helper that strips the
.htmlfile extension from
_path, which is a native roots local
- var page = helpers.getPageName(_path) doctype html include ./includes/_head body(id= page)
doctype html include ./includes/_head body(id= helpers.getPageName(_path))
<body id=“index”> <body id=“work”> <body id=“blog”> <body id=“about”> <body id=“contact”> etc.
Still struggling with routing.
I will try to explain my situation a bit more clearer.
I checked the dynamic content extension but Im already loading dynamic content through ajax.
The text you see and the images in the screens is the dynamic content.
The columns below are my projects, when clicked on it displays its description and images dynamically in the top
and I would like the urls to change to like this:
While staying on the same page.
Here is a screenshot from the page.