3 changed files with 33 additions and 10 deletions
@ -1,15 +1,15 @@ |
|||||||
var browserSync = require('browser-sync'); |
var browserSync = require("browser-sync"); |
||||||
|
|
||||||
browserSync({ |
browserSync({ |
||||||
//proxy: 'http://137.149.200.93',
|
//proxy: 'http://137.149.200.93',
|
||||||
proxy: 'https://islandimagined2.islandarchives.ca', |
proxy: "https://islandarchives2.islandarchives.ca/", |
||||||
files: 'css/**/*.css', |
files: ["css/**/*.css", "js/**/*.js"], |
||||||
plugins: ['bs-rewrite-rules'], |
plugins: ["bs-rewrite-rules"], |
||||||
serveStatic: ['.'], |
serveStatic: ["."], |
||||||
rewriteRules: [ |
rewriteRules: [ |
||||||
{ |
{ |
||||||
match: /\/themes\/custom\/olivespostcards/g, |
match: /\/themes\/custom\/olivespostcards/g, |
||||||
replace: '' |
replace: "", |
||||||
} |
}, |
||||||
] |
], |
||||||
}); |
}); |
||||||
|
|||||||
Binary file not shown.
@ -0,0 +1,23 @@ |
|||||||
|
<div class="grid-item"> |
||||||
|
{% for field in fields -%} |
||||||
|
{{ field.separator }} |
||||||
|
{%- if field.wrapper_element -%} |
||||||
|
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}> |
||||||
|
{%- endif %} |
||||||
|
{%- if field.label -%} |
||||||
|
{%- if field.label_element -%} |
||||||
|
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }}</{{ field.label_element }}> |
||||||
|
{%- else -%} |
||||||
|
{{ field.label }}{{ field.label_suffix }} |
||||||
|
{%- endif %} |
||||||
|
{%- endif %} |
||||||
|
{%- if field.element_type -%} |
||||||
|
<{{ field.element_type }}{{ field.element_attributes }}>{{ field.content }}</{{ field.element_type }}> |
||||||
|
{%- else -%} |
||||||
|
{{ field.content }} |
||||||
|
{%- endif %} |
||||||
|
{%- if field.wrapper_element -%} |
||||||
|
</{{ field.wrapper_element }}> |
||||||
|
{%- endif %} |
||||||
|
{%- endfor %} |
||||||
|
</div> |
||||||
Loading…
Reference in new issue