Add conditional processing for links at top of home page

This commit is contained in:
Dave Syer
2013-08-15 13:01:44 +01:00
parent 6761c127e4
commit eeec83816e
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -4,7 +4,9 @@
<div class="content--title"> <div class="content--title">
<!-- TODO: when in <p/> style of this text is wrong (font too large) --> <!-- TODO: when in <p/> style of this text is wrong (font too large) -->
<!-- TODO: why do we have to markdownify? --> <!-- TODO: why do we have to markdownify? -->
{{ include.links | markdownify }} {% if include.links %}
{{ include.links | markdownify }}
{% endif %}
</div> </div>
<div class="row-fluid"> <div class="row-fluid">
<div class="span8"> <div class="span8">
+1 -1
View File
@@ -4,7 +4,7 @@ title: Docs
--- ---
{% capture links %} {% capture links %}
[Project]({{ page.main_site_url }}/projects/spring-framework) : [Another]({{ page.main_site_url }}/projects/spring-framework) [Project]({{ page.main_site_url }}/projects/spring-framework) | [Another]({{ page.main_site_url }}/projects/spring-framework)
{% endcapture %} {% endcapture %}
{% capture description %} {% capture description %}