mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 00:09:01 +00:00
Add conditional processing for links at top of home page
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@
|
||||
<div class="content--title">
|
||||
<!-- TODO: when in <p/> style of this text is wrong (font too large) -->
|
||||
<!-- TODO: why do we have to markdownify? -->
|
||||
{{ include.links | markdownify }}
|
||||
{% if include.links %}
|
||||
{{ include.links | markdownify }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ title: Docs
|
||||
---
|
||||
|
||||
{% 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 %}
|
||||
|
||||
{% capture description %}
|
||||
|
||||
Reference in New Issue
Block a user