X-Git-Url: https://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/b6d30bd05c54078bbf60e7242aabff21ed4492da..de605446b3ed408672aecd74462a25de41c1367c:/layouts/default.xml
diff --git a/layouts/default.xml b/layouts/default.xml
index b432c54..74c454a 100644
--- a/layouts/default.xml
+++ b/layouts/default.xml
@@ -32,10 +32,11 @@
%> <%= copyright %>
<% end
if @item[:license] then
- lic = find_license(@item[:license])
+ licref = @item[:license].split
+ lic = find_license(licref[0])
%>
<%= File::basename(lic.identifier.without_ext) %>
- <%= lic[:title] %>
+ <%= [lic[:title], licref[1..-1]].compact.join(" ").strip %>
<%= item_uri(lic) %>
<%=
lic[:"modification-allowed"] == true ? "yes" : "no"
@@ -49,6 +50,19 @@
Time.now.gmtime.strftime "%Y-%m-%d %H:%M UTC"
%>
+ <% breadcrumbs_trail().compact.each do |i|
+ if i == @item then next end %>
+
+ <%=
+ if i == @items["/index.*"] then
+ "Entrance"
+ else
+ i[:title]
+ end
+ %>
+ <%= item_uri(i) %>
+ <% end %>
+
<% if !doc_header then
%> <%= @item.fetch(:header, @item[:title]) %>