Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Daniel Wrightson Regular
@dan-james · Joined 7 years ago · 123 posts · 19 topics · 25 reputation
Badges
Recent posts
-
Make a very small Webshop in an existing GRAVCMS website
· 6 years ago
I've used Snipcart a couple of times - you can add a link to any item to make it available for sale. There's a plugin - though I've not used it. And snipcart itself has good docs. https://snipcart.co
-
External link in header menu opened in another tab?
· 6 years ago
Cheers Carlos, glad it worked.
-
Menu: how to add the blog in the one page site skeleton
· 6 years ago
Hi @pivari, if you want to have the menu always show "Home" and "Blog" just add onpage_menu: false to the header of your modular.md page (the home page that has the modular sections listed underneath
-
Menu: how to add the blog in the one page site skeleton
· 6 years ago
REgarding the top menu, my understanding of the default behaviour is that, on a modular home page the menu lists the modules, not the website structure. When the site is viewed on a mobile, the menu l
-
Menu: how to add the blog in the one page site skeleton
· 6 years ago
That looks correct. So, you just need to move the folder into the public_html root, instead of in its own grav folder, modify the modular page sections for your needs (and include a link out to the b
-
External link in header menu opened in another tab?
· 6 years ago
Hi @cidelab, it looks like your solution will repeat <a href="{{ p.url}} twice... {% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %} {% if p.
-
External link in header menu opened in another tab?
· 6 years ago
Great! glad it worked : )
-
Menu: how to add the blog in the one page site skeleton
· 6 years ago
@pivari - A occhio sei italiano? Il Blog lo puoi aggiungere alla "one page site", non serve un altra copia di Grav. Andando su https://pivari.com dovresti vedere la 'one page site' - e da li dovresti
-
External link in header menu opened in another tab?
· 6 years ago
Hi @cidelab, it won't slow the page down, I just think there's probably a more elegant logic method that could be used somewhere. Regarding Grav updates, it might break, it might not. I tend to build
-
External link in header menu opened in another tab?
· 6 years ago
Hi Carlos, the only (rather inelegant) fix I can think of is to modify the nav loop macro so it adds a "target="blank" to external links. {% import _self as macros %} {% for p in page.children.vis