commit
593e5d075f
2
Gemfile
2
Gemfile
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'nanoc', '~>4.3.3'
|
gem 'nanoc', '4.3.4'
|
||||||
gem 'kramdown'
|
gem 'kramdown'
|
||||||
gem 'coffee-script'
|
gem 'coffee-script'
|
||||||
# Needed for relativize_urls
|
# Needed for relativize_urls
|
||||||
|
|
|
@ -88,7 +88,7 @@ DEPENDENCIES
|
||||||
highline
|
highline
|
||||||
icalendar
|
icalendar
|
||||||
kramdown
|
kramdown
|
||||||
nanoc (~> 4.3.3)
|
nanoc (= 4.3.4)
|
||||||
nokogiri
|
nokogiri
|
||||||
sass
|
sass
|
||||||
terminal-notifier-guard
|
terminal-notifier-guard
|
||||||
|
|
3
Rules
3
Rules
|
@ -4,9 +4,6 @@
|
||||||
require 'json'
|
require 'json'
|
||||||
require 'icalendar'
|
require 'icalendar'
|
||||||
|
|
||||||
# Please @NoctuaNivalis
|
|
||||||
require 'socket'
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# PREPROCESS
|
# PREPROCESS
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
.blogpost {
|
|
||||||
.blogtitle {
|
|
||||||
font-size: 4em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.padbox{
|
.padbox{
|
||||||
margin-bottom:10px;
|
margin-bottom:10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
|
<h1 class="title is-1 has-text-centered">
|
||||||
|
<%= item[:title] %>
|
||||||
|
</h1>
|
||||||
|
<% if item[:author] %>
|
||||||
|
<h2 class="subtitle is-3 has-text-centered">
|
||||||
|
<%= item[:author] %>
|
||||||
|
</h2>
|
||||||
|
<% end %>
|
||||||
<div class="content blogpost">
|
<div class="content blogpost">
|
||||||
<h1 class="has-text-centered blogtitle">
|
|
||||||
<%= item[:title] %>
|
|
||||||
</h1>
|
|
||||||
<main class="blogwidth">
|
<main class="blogwidth">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Reference in a new issue