+ <%= @item[:title] %> +
+ + <%= yield %> + +-
+ <% items_with_tag('song').each do |song| %>
+
- + <%= link_to song[:title], song.path %> (<%= song[:created_at] %>) + + <% end %> +
diff --git a/README.md b/README.md index bfab2160..bd3e7e09 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ ## Deploy -1. `cd output` -1. Add diff to branch gh-pages +1. Do the [setup](https://nanoc.app/doc/deploying/#with-git) 1. `bundle exec nanoc` 1. `bundle exec nanoc deploy` diff --git a/Rules b/Rules index 4f143f02..f59ee146 100644 --- a/Rules +++ b/Rules @@ -11,6 +11,13 @@ compile '/**/*.html' do end end +compile '/songs_to_the_stone.md' do + filter :kramdown + layout '/songs_to_the_stone.*' + + write item.identifier.without_ext + '/index.html' +end + compile '/storie.md' do filter :kramdown layout '/story_list.*' diff --git a/content/songs_to_the_stone.md b/content/songs_to_the_stone.md new file mode 100644 index 00000000..c30d3955 --- /dev/null +++ b/content/songs_to_the_stone.md @@ -0,0 +1,3 @@ +--- +title: 'Songs to the Stone' +--- diff --git a/content/storie/mario-the-butcher.md b/content/songs_to_the_stone/mario-the-butcher.md similarity index 99% rename from content/storie/mario-the-butcher.md rename to content/songs_to_the_stone/mario-the-butcher.md index 65a9d4e8..c3b7d524 100644 --- a/content/storie/mario-the-butcher.md +++ b/content/songs_to_the_stone/mario-the-butcher.md @@ -1,7 +1,7 @@ --- -title: "[EN] Mario the butcher" -created_at: 2016-07-02 -kind: article +title: "Mario the butcher" +created_at: 2022-09-11 +tags: ['song'] --- The night was a vortex of lights of every intensity, and of shadows thick andimpenetrable. Along the streets, snakes made of asphalt, cars moved slowly, speeding forward, describing curves, projecting cones of solid light that would rend the night and the dark that seemed to be willing to swallow them. It was the October 12th, 1982. diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index e5ffbc7f..c8dae6a9 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -4,5 +4,7 @@