Skip to content

Instantly share code, notes, and snippets.

View JeffMatsonPagely's full-sized avatar

Jeff Matson JeffMatsonPagely

View GitHub Profile
---
layout: home
---
- title: Home
path: /
- title: About
path: /about/
<header>
<div class="site-name nav-link"><a href="{{ site.url }}">{{ site.title }}</a></div>
<nav>
<ul class="nav">
{% for item in site.data.navigation %}
<li class="nav-item">
<a class="nav-link" href="{{ item.path }}">{{ item.title }}</a>
</li>
{% endfor %}
</ul>
---
layout: default
---
<article>
<h2>{{ page.title }}</h2>
{{ content }}
</article>
---
layout: default
---
<article>
<h2>{{ page.title }}</h2>
Published on {{ page.date | date_to_string }}
{{ content }}
</article>
---
layout: default
title: NorthStack Example Blog
---
<div class="posts">
{% for post in site.posts %}
<article>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
Published on {{ post.date | date_to_string }}
{{ post.excerpt }}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/assets/css/main.css">
</head>
<body>
{% include header.html %}
<main>
@JeffMatsonPagely
JeffMatsonPagely / _config.yml
Created April 17, 2019 20:52
Example Jekyll config for NorthStack Jekyll blog tutorial
# General Settings
title: My New NorthStack Blog
email: person@example.com
description: "Welcome to my new blog running on Jekyll and NorthStack!"
baseurl: ""
url: ""
# Build settings
markdown: kramdown