initial commit of the hawkBit documentation (#343)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
65
docs/src/main/resources/_layouts/news_summary.html
Normal file
65
docs/src/main/resources/_layouts/news_summary.html
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{% include base.html %}
|
||||
|
||||
<div class="container content">
|
||||
<div class="row">
|
||||
<div class="span12">
|
||||
<div class="page-header">
|
||||
<h2>
|
||||
News
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
{% for news in site.pages reversed %}
|
||||
{% if news.section == 'news' %}
|
||||
|
||||
<h2><a href="{{base}}{{ news.url }}">{{news.title}}</a></h2>
|
||||
<div class="postmetadata">
|
||||
<ul>
|
||||
<li>
|
||||
<i class="icon-calendar"></i> {{ news.date | date: "%b %-d, %Y" }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
{% if news.content contains '<!--more-->' %}
|
||||
{{ news.content | split:'<!--more-->' | first }}
|
||||
<a href="{{base}}{{ news.url }}">Read More...</a>
|
||||
{% else %}
|
||||
{{ news.content }}
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="col-md-3 pull-right">
|
||||
<div class="well">
|
||||
<center><h3>News Overview</h3></center>
|
||||
<ul class="nav nav-stacked" id="sidebar">
|
||||
|
||||
{% for news in site.pages reversed %}
|
||||
{% if news.section == 'news' %}
|
||||
<li><a href="{{base}}{{ news.url}}">{{news.title}}</a></li>
|
||||
<ul>
|
||||
|
||||
<li type="square"> <a href="{{base}}{{ news.url}}"><em>{{ news.date | date: "%b %-d, %Y" }}</em></a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user