Skip to content

Instantly share code, notes, and snippets.

@tphummel
Last active December 11, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tphummel/4652536 to your computer and use it in GitHub Desktop.
Save tphummel/4652536 to your computer and use it in GitHub Desktop.
Jekyll Static Blog
layout title tags
default
My First Post Title
new tag
another tag

my post content with a link

safe: false
auto: false
server: false
source: .
destination: ./_site
plugins: ./_plugins
future: false
lsi: false
pygments: false
markdown: maruku
permalink: pretty
---
layout: default
title: my-static-site.com
---
{{ "{% for post in site.posts " }}%}
<div>
<p><h2><a href="{{ "{{ post.url " }}}}">{{ "{{ post.title " }}}}</a></h2>{{ }}</p>
<p>{{ "{{ post.date | date_to_string " }}}}</p>
<p><a href="{{ "{{ post.url " }}}}">Read more ...</a></p>
</div>
{{ "{% endfor " }}%}
<html>
<head>
<title>{{ page.title }}</title>
</head>
<body>
{{ content }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment