This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{HTTP_HOST} ^[www\.]?domain\.com | |
RewriteCond %{REQUEST_URI} !/holdingpage.html$ | |
RewriteRule ^(.*)$ /holdingpage.html [L,R=307] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script>document.getElementsByTagName('html')[0].className += ' hasJS';</script> | |
<title>Blah</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@variables { | |
myCompanyBrandingColour: #F00; | |
myCompanyFonts: 'Comic Sans', Arial, sans-serif; | |
} | |
#header { | |
background-color: var(myCompanyBrandingColour); | |
} | |
p { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bordered { | |
border-top: 1px dotted black; | |
border-bottom: 2px solid black; | |
} | |
.post a { | |
color: red; | |
.bordered; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="hidden" name="checkbox_name" value="unchecked_value" /> | |
<input type="checkbox" name="checkbox_name" value="checked_value" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" name="my_input_name[0]" value="item_value" /> | |
<input type="hidden" name="my_input_name[1]" value="unchecked_value" /> | |
<input type="checkbox" name="my_input_name[1]" value="checked_value" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const fractal = require('@frctl/fractal'); | |
const markdown = require('helper-markdown'); | |
// other fractal config here... | |
fractal.engine('handlebars', '@frctl/handlebars-adapter', { | |
helpers: { | |
markdown: markdown() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const fractal = require('@frctl/fractal'); | |
//.... other config items | |
fractal.set('plugins.web.theme', 'example-theme'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var md = require('marked'); | |
fractal.engine('nunjucks', '@frctl/nunjucks-engine', { | |
filters: { | |
markdown: function(str){ | |
return md(str); | |
} | |
} | |
}); |
OlderNewer