Questions tagged [grunt-html-build]

8 questions
2
votes
2 answers

grunt-html-build - process variable inside section?

i am trying to build a page with templates, where i am setting some parameters. Inside the main template this works perfect: <%= variable %> is correctly replaced by: Value To write the header only once,…
0
votes
1 answer

Grunt: override properties of a task, from arguments of another

html-build` and I'm trying to pass custom properties of it's config from a custom task that I'm creating. This is my current code: grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), htmlbuild: { dist: { …
Zlatko
  • 1
  • 2
0
votes
1 answer

How to configure html builder for secure protocol (https) in laravel4.2

How to configure url or base url in Laravel4.2 for secures protocol https without set manual in html builder. {{ HTML::style('front_assets/plugins/bootstrap/css/bootstrap.min.css') }} {{ HTML::style('front_assets/css/style.css')}} …
DMS-KH
  • 2,669
  • 8
  • 43
  • 73
0
votes
1 answer

How to get rid of grunt-processhtml "" tags

I'm trying to dynamically load some css files from a Javascript. Snippet: if (theme === 'testtheme' || theme === 'testtheme/') { css = '
brainwash
  • 690
  • 5
  • 19
0
votes
1 answer

Use Grunt for basic includes

I have an application that has 3 pages which I would like to be self-contained. In the interest of DRY code, I would like to do "includes" for the header and footer content. I have looked at the docs and examples for grunt-html-build and I'm somehow…
Greg Pettit
  • 10,749
  • 5
  • 53
  • 72
0
votes
1 answer

Grunt JS: passing parameter to grunt-html-build

I'm using the grunt-html-build plugin to make static site with templates. I would like to know if it is possible to pass a custom parameter object to the build function of grunt-html-build, like this: