3 changed files with 33 additions and 10 deletions
@ -1,15 +1,15 @@
|
||||
var browserSync = require('browser-sync'); |
||||
var browserSync = require("browser-sync"); |
||||
|
||||
browserSync({ |
||||
//proxy: 'http://137.149.200.93',
|
||||
proxy: 'https://islandimagined2.islandarchives.ca', |
||||
files: 'css/**/*.css', |
||||
plugins: ['bs-rewrite-rules'], |
||||
serveStatic: ['.'], |
||||
proxy: "https://islandarchives2.islandarchives.ca/", |
||||
files: ["css/**/*.css", "js/**/*.js"], |
||||
plugins: ["bs-rewrite-rules"], |
||||
serveStatic: ["."], |
||||
rewriteRules: [ |
||||
{ |
||||
match: /\/themes\/custom\/olivespostcards/g, |
||||
replace: '' |
||||
} |
||||
] |
||||
{ |
||||
match: /\/themes\/custom\/olivespostcards/g, |
||||
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