From 7445ea9d56071cfca247689e22c6fded65c3f968 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 31 Dec 2016 18:21:44 -0700 Subject: fix breadcrumbs --- Makefile | 2 +- bin/page.html.erb | 3 ++- bin/util.rb | 17 +++++++++++++++- src/DND/DND.css | 59 ------------------------------------------------------- src/DND/DND.scss | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+), 62 deletions(-) delete mode 100644 src/DND/DND.css create mode 100644 src/DND/DND.scss diff --git a/Makefile b/Makefile index d8adb8a..54f6d26 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ html.src = $(shell find src -type f \( -false $(foreach s,$(html.suffixes), -o - # Translate the source filenames into output filenames html.out = $(call patsubst-all,$(addprefix src/%.,$(html.suffixes)),out/%.html,$(html.src)) -all: $(html.out) out/main.css +all: $(html.out) out/main.css out/DND/DND.css bin/page = bin/page bin/util.rb bin/pandoc.rb diff --git a/bin/page.html.erb b/bin/page.html.erb index 6f56573..a8e5154 100644 --- a/bin/page.html.erb +++ b/bin/page.html.erb @@ -10,7 +10,8 @@

Andrew D. Murrell

-

<%= @page.breadcrumbs %>

+

<%= @page.breadcrumbs %> + (<%= File.extname(@page.src).upcase %>)