diff --git a/Gemfile b/Gemfile index c9cd78b..54c2543 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,9 @@ gem 'coffee-script' gem 'nokogiri' gem 'sass' +# Checks +gem 'w3c_validators' + group :development do gem 'adsf' gem 'guard-nanoc' diff --git a/Gemfile.lock b/Gemfile.lock index 6305a42..0ff81d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,6 +28,7 @@ GEM guard (~> 2.8) guard-compat (~> 1.0) nanoc (~> 4.0) + json (2.0.1) kramdown (1.10.0) listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) @@ -59,6 +60,9 @@ GEM shellany (0.0.1) slop (3.6.0) thor (0.19.1) + w3c_validators (1.2) + json + nokogiri PLATFORMS ruby @@ -71,6 +75,7 @@ DEPENDENCIES nanoc nokogiri sass + w3c_validators RUBY VERSION ruby 2.3.1p112 diff --git a/content/blogposts/testpost.md b/content/posts/testpost.md similarity index 100% rename from content/blogposts/testpost.md rename to content/posts/testpost.md diff --git a/layouts/default.erb b/layouts/default.erb index 1a90939..e2b436c 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -17,6 +17,7 @@ + <%= content_for(@item, :head) %> <%= yield %> diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb index 5efcada..76b03c2 100644 --- a/layouts/eventpost.erb +++ b/layouts/eventpost.erb @@ -1,3 +1,7 @@ +<% content_for :head do %> + +<% end %> +
diff --git a/lib/capturing.rb b/lib/capturing.rb new file mode 100644 index 0000000..530e2e4 --- /dev/null +++ b/lib/capturing.rb @@ -0,0 +1 @@ +include Nanoc::Helpers::Capturing