implement authors
This commit is contained in:
parent
ad252b7e3d
commit
2bcd580b62
6 changed files with 17 additions and 20 deletions
2
Gemfile
2
Gemfile
|
@ -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
|
||||
|
|
|
@ -88,7 +88,7 @@ DEPENDENCIES
|
|||
highline
|
||||
icalendar
|
||||
kramdown
|
||||
nanoc (~> 4.3.3)
|
||||
nanoc (= 4.3.4)
|
||||
nokogiri
|
||||
sass
|
||||
terminal-notifier-guard
|
||||
|
|
3
Rules
3
Rules
|
@ -4,9 +4,6 @@
|
|||
require 'json'
|
||||
require 'icalendar'
|
||||
|
||||
# Please @NoctuaNivalis
|
||||
require 'socket'
|
||||
|
||||
#
|
||||
#
|
||||
# PREPROCESS
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<div class="content blogpost">
|
||||
<div class="has-text-centered">
|
||||
<h1 class="title is-1">
|
||||
<h1 class="title is-1 has-text-centered">
|
||||
<%= item[:title] %>
|
||||
</h1>
|
||||
<h2 class="subtitle is-3">
|
||||
Author
|
||||
<% if item[:author] %>
|
||||
<h2 class="subtitle is-3 has-text-centered">
|
||||
<%= item[:author] %>
|
||||
</h2>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="content blogpost">
|
||||
<main class="blogwidth">
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue