Questions tagged [enduro.js]

8 questions
3
votes
2 answers

Include external html into enduro.js

I have an enduro.js blog based on this tutorial: https://www.endurojs.com/blog/how-to-make-a-blog-with-endurojs And I want to add navbar and footer as external .html files available on some URL. How can I include some navbar url into following code…
jokuja
  • 89
  • 1
  • 15
1
vote
0 answers

Object key as variable in handlebars (enduro.js)

I'm trying to create multilingual page using enduro.js with handlebars. I have created objects like: { text: { eng: 'some text in english', ger: 'some text in german', } } and it works if I use it like this:

{{lookup text…

Kamil
  • 11
  • 2
1
vote
1 answer

How to enable JS Compiling in Enduro.js

I need to put somme JS Functions in my Enduro.js project. So I added my functions in /assets/js/main.js (which content is "// put your js here :-)/***" after Enduro.js new project setup). I installed babel as advised : npm install --save-dev…
soleshoe
  • 1,215
  • 2
  • 12
  • 16
1
vote
1 answer

What's the best way to add JQuery to Enduro.js

I'd like to be able to use Jquery in my Enduro.js project, but there is not a single sample using it on github Enduro.js page Libraries seem to be loaded in Enduro.js using RequireJS, wth the line found at the bottom of the default index.hbs : {{!--…
soleshoe
  • 1,215
  • 2
  • 12
  • 16
1
vote
1 answer

button in markdown using enduro.js

I followed this guide on how to enable markdown in enduro.js: http://www.endurojs.com/docs/using-markdown This works ok, but I would like to have button instead of normal anchor link. My markdown looks like this: ## Title Paragraph text [read…
calvin-h
  • 11
  • 2
0
votes
1 answer

Creating a filter of tags for a blog in handlebars/endurojs

I'm creating a blog with tags, each blog entry can have multiple tags that can be filtered to show blog entries with the same tag choosen. My problem lies when i'm filtering the results i'm not sure how to send the tag (or keyword) to another…
Progs
  • 1,059
  • 7
  • 27
  • 63
0
votes
1 answer

Include external js in enduro.js CMS

I'm trying to use enduro.js but i need to include an external js file to my index.hbs putting a script tag after body, just like a normal html file. This just says me in chrome console Refused to…
marco burrometo
  • 1,055
  • 3
  • 16
  • 33
0
votes
1 answer

Is there a way to set default enduro.js culture?

Working on a enduro.js website project, I am wondering if there is a way to set the default culture ? For the moment, it defaults to EN, even when adding DE ES & FR for instance... I'd like te get FR (or what ever other culture) as default culture,…
soleshoe
  • 1,215
  • 2
  • 12
  • 16