struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts-site] branch master updated: Allows define custom breadcrumbs per page
Date Sun, 24 Sep 2017 19:26:09 GMT
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new d4dc803  Allows define custom breadcrumbs per page
d4dc803 is described below

commit d4dc803e546a0576d83771fb362cf8581d3af6f8
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Sun Sep 24 21:26:01 2017 +0200

    Allows define custom breadcrumbs per page
---
 source/_layouts/default.html             | 3 +++
 source/tag-developers/ajax-theme.md      | 3 +++
 source/tag-developers/css-xhtml-theme.md | 3 +++
 source/tag-developers/simple-theme.md    | 3 +++
 source/tag-developers/xhtml-theme.md     | 3 +++
 5 files changed, 15 insertions(+)

diff --git a/source/_layouts/default.html b/source/_layouts/default.html
index 696182f..34350bb 100644
--- a/source/_layouts/default.html
+++ b/source/_layouts/default.html
@@ -26,6 +26,9 @@
 <article class="container">
   <section class="col-md-12">
     <a class="edit-on-gh" href="{{ site.repository_url }}/edit/master/source/{{ page.path
}}" title="Edit this page on GitHub">Edit on GitHub</a>
+    {% if page.parent %}
+    <a href="{{ page.parent.url }}" title="back to {{ page.parent.title }}"><<
back to {{ page.parent.title }}</a>
+    {% endif %}
     {{ content }}
   </section>
 </article>
diff --git a/source/tag-developers/ajax-theme.md b/source/tag-developers/ajax-theme.md
index 5b5528e..259d943 100644
--- a/source/tag-developers/ajax-theme.md
+++ b/source/tag-developers/ajax-theme.md
@@ -1,6 +1,9 @@
 ---
 layout: default
 title: Tag Developers Guide (WIP)
+parent:
+  url: themes-and-templates.html
+  title: Themes and Templates
 ---
 
 # ajax theme
diff --git a/source/tag-developers/css-xhtml-theme.md b/source/tag-developers/css-xhtml-theme.md
index 3ab52a1..08d75c7 100644
--- a/source/tag-developers/css-xhtml-theme.md
+++ b/source/tag-developers/css-xhtml-theme.md
@@ -1,6 +1,9 @@
 ---
 layout: default
 title: Tag Developers Guide (WIP)
+parent:
+  url: themes-and-templates.html
+  title: Themes and Templates
 ---
 
 # css_xhtml theme
diff --git a/source/tag-developers/simple-theme.md b/source/tag-developers/simple-theme.md
index e7e756b..4cb1433 100644
--- a/source/tag-developers/simple-theme.md
+++ b/source/tag-developers/simple-theme.md
@@ -1,6 +1,9 @@
 ---
 layout: default
 title: Tag Developers Guide (WIP)
+parent:
+  url: themes-and-templates.html
+  title: Themes and Templates
 ---
 
 # simple theme
diff --git a/source/tag-developers/xhtml-theme.md b/source/tag-developers/xhtml-theme.md
index 071beb3..ceb5c2b 100644
--- a/source/tag-developers/xhtml-theme.md
+++ b/source/tag-developers/xhtml-theme.md
@@ -1,6 +1,9 @@
 ---
 layout: default
 title: Tag Developers Guide (WIP)
+parent:
+  url: themes-and-templates.html
+  title: Themes and Templates
 ---
 
 # xhtml theme

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Mime
View raw message