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
const http = require('http'); | |
const process = require('process'); | |
const { exec } = require('child_process'); | |
const hostname = '127.0.0.1'; | |
const port = 3000; | |
const server = http.createServer((req, res) => { | |
console.log('Ghost content updated!'); | |
process.chdir('../eleventy/'); |
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
<h1>API post list</h1> | |
<ul> | |
{% for post in posts %} | |
<li> | |
<a href="/posts/{{ post.id }}/">{{ post.title }}</a> | |
</li> | |
{% endfor %} | |
</ul> |
-
Archives - Design Systems http://news.design.systems/issues
-
Css and Scalability http://mrmrs.github.io/writing/2016/03/24/scalable-css/
-
Navigation in Lists: To Be or Not To Be | CSS-Tricks https://css-tricks.com/navigation-in-lists-to-be-or-not-to-be/
-
In Defense of Utility-First CSS | frontstuff
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
function repeatify(count) { | |
let newString = this; | |
for (var i = 1; i < count; i++) { | |
newString += this; | |
} | |
return newString; | |
} | |
String.prototype.repeatify = repeatify; |
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
<!-- Open graph meta --> | |
<meta property="og:type" content="website"> | |
<meta property="og:site_name" content="<?php echo site_name(); ?>"> | |
<?php if(is_homepage() == true) : ?> | |
<meta property="og:url" content="http://websiteaddress.com"> | |
<meta property="og:title" content="<?php echo site_name(); ?>"> | |
<meta property="og:description" content="<?php echo site_description(); ?>"> | |
<?php else: ?> | |
<meta property="og:url" content="<?php echo "http://websiteaddress.com/" . current_url(); ?>"> | |
<meta property="og:title" content="<?php echo page_title('Page can’t be found'); ?> - <?php echo site_name(); ?>"> |
root
- garth-jekyll-theme.gemspec
- _layouts
- default.html
- page.html
- front.html
- post.html
- _includes
- header.html
- footer.html
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
<!-- Proposed Index json output --> | |
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "WebSite", | |
"name": "Dave’s Blog", | |
"headline": "Dave’s Blog", | |
"image": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=600", | |
"description": "Articles, tutorials and other ramblings", | |
"publisher": { |
- Setup an organisation on GitHub
- Create a repo called "theorgname".github.io
- Select a decent default Jekyll template
- Use this scraper? https://github.com/forbesg/bbc-good-food-recipe-scraper Or something similar to extract all the recipes (ideally in markdown)
- Upload the recipes to the repo, maybe under a new collection type
- See what we can do from there?