This file contains hidden or 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
| { | |
| "context": { | |
| "bar": { | |
| "title": "Title for Bar" | |
| }, | |
| "baz": { | |
| "title": "Title for BaZ" | |
| } | |
| } | |
| } |
This file contains hidden or 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 gulp = require('./gulpfile'); | |
| fractal.command('gulp [task]', function(args, done){ | |
| const task = args.task || 'default'; | |
| this.console.notice(`Running gulp '${task}' task...`); | |
| gulp.start(task, err => { | |
| if (err) { |
This file contains hidden or 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
| require('./setup.js'); |
This file contains hidden or 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); | |
| } | |
| } | |
| }); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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; | |
| } |