Merge pull request #94 from ZeusWPI/authors

Authors, fixes #53
This commit is contained in:
Miaoulo 2016-10-11 16:19:27 +02:00 committed by GitHub
commit 593e5d075f
7 changed files with 17 additions and 21 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'nanoc', '~>4.3.3'
gem 'nanoc', '4.3.4'
gem 'kramdown'
gem 'coffee-script'
# Needed for relativize_urls

View file

@ -88,7 +88,7 @@ DEPENDENCIES
highline
icalendar
kramdown
nanoc (~> 4.3.3)
nanoc (= 4.3.4)
nokogiri
sass
terminal-notifier-guard

3
Rules
View file

@ -4,9 +4,6 @@
require 'json'
require 'icalendar'
# Please @NoctuaNivalis
require 'socket'
#
#
# PREPROCESS

View file

@ -1,9 +1,3 @@
.blogpost {
.blogtitle {
font-size: 4em;
}
}
.padbox{
margin-bottom:10px;
}

View file

@ -1,7 +1,12 @@
<div class="content blogpost">
<h1 class="has-text-centered blogtitle">
<h1 class="title is-1 has-text-centered">
<%= item[:title] %>
</h1>
</h1>
<% if item[:author] %>
<h2 class="subtitle is-3 has-text-centered">
<%= item[:author] %>
</h2>
<% end %>
<div class="content blogpost">
<main class="blogwidth">
<%= yield %>
</main>