Author: sebb
Date: Sun Apr 29 13:55:08 2018
New Revision: 1830512
URL: http://svn.apache.org/viewvc?rev=1830512&view=rev
Log:
No need for separate project.list any more
Update docco
Removed:
attic/site-jekyll/src/_includes/project.list
Modified:
attic/site-jekyll/README.md
attic/site-jekyll/src/_includes/page_end.html
Modified: attic/site-jekyll/README.md
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/README.md?rev=1830512&r1=1830511&r2=1830512&view=diff
==============================================================================
--- attic/site-jekyll/README.md (original)
+++ attic/site-jekyll/README.md Sun Apr 29 13:55:08 2018
@@ -6,9 +6,8 @@ src/ - source files used to generate the
project.txt - sample JSON object and comments
projects.json - data for all retired projects
_includes/
- footer.html - footer include
- menu.html - include for navigation menu
- project.list - template to create the project list include
+ page_start.html - start of each page
+ page_end.html - end of each page
_layouts/
project.html - template to process individual project pages
_plugins/
@@ -54,5 +53,8 @@ The Ruby script is also used to pre-proc
that is easier to use in the template. Although the templating language is
quite
powerful, it's generally easier to use Ruby to generate the variable.
-After the output has been written, another plugin processes thd projects data
and
+After the output has been written, another plugin processes the projects data
and
creates the flags directories and banners files.
+
+The page source makes use of {% include %} directives.
+These are used to define the common page start and end.
\ No newline at end of file
Modified: attic/site-jekyll/src/_includes/page_end.html
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/_includes/page_end.html?rev=1830512&r1=1830511&r2=1830512&view=diff
==============================================================================
--- attic/site-jekyll/src/_includes/page_end.html (original)
+++ attic/site-jekyll/src/_includes/page_end.html Sun Apr 29 13:55:08 2018
@@ -23,7 +23,10 @@
</div>
</div>
<div class="nav column prepend-1 span-12 last">
- {% include project.list %}
+ <h6>Projects in the Attic</h6>
+ <ul>{% for project in site.data.projects %}
+ <li><a href="{{ page.myrelativeurl }}projects/{{ project.stem
}}.html">{{ project.name }}</a></li> {% endfor %}
+ </ul>
</div>
</div>
</div>