forked from jekyll/minima
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look for site.github.url if it exists
- Loading branch information
Showing
5 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "jekyll", "~> 3.2" | ||
gem "minima", path: "../" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
theme: minima | ||
title: Your awesome title | ||
email: [email protected] | ||
author: Mr. GitHub User | ||
description: "Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description." | ||
email: [email protected] | ||
description: > # this means to ignore newlines until "baseurl:" | ||
Write an awesome description for your new site here. You can edit this | ||
line in _config.yml. It will appear in your document head meta (for | ||
Google search results) and in your feed.xml site description. | ||
baseurl: "/minima" | ||
twitter_username: jekyllrb | ||
github_username: jekyll | ||
|
||
collections: | ||
posts: | ||
permalink: /posts/:title | ||
# Build settings | ||
markdown: kramdown | ||
theme: minima | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
--- | ||
layout: default | ||
layout: page | ||
--- | ||
|
||
<div class="home"> | ||
|
||
<h1 class="page-heading">Posts</h1> | ||
|
||
{% assign custom_url = site.url | append: site.baseurl %} | ||
{% assign full_base_url = site.github.url | default: custom_url %} | ||
|
||
<ul class="post-list"> | ||
{% for post in site.posts %} | ||
<li> | ||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> | ||
|
||
<h2> | ||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a> | ||
<a class="post-link" href="{{ post.url | prepend: full_base_url }}">{{ post.title | escape }}</a> | ||
</h2> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p> | ||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: full_base_url }}">via RSS</a></p> | ||
|
||
</div> |