Rename page and optimize template generation
This commit is contained in:
parent
3f2e6c156d
commit
144c5069f6
4 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
|||
_model: frontpage
|
||||
---
|
||||
title: Awesome Ansible Roles
|
||||
---
|
||||
body:
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
[model]
|
||||
name = Page
|
||||
name = Frontpage
|
||||
label = {{ this.title }}
|
||||
protected = true
|
||||
hidden = true
|
||||
|
||||
[fields.title]
|
||||
label = Page Title
|
|
@ -1 +1 @@
|
|||
Subproject commit e9e82b651263bd3501af75ac4638a5ae36761173
|
||||
Subproject commit 1fd71eff13c3a01dccc5dc49c26857e84686a14c
|
|
@ -19,13 +19,13 @@
|
|||
<tr>
|
||||
<th><a href="{{ blk.gitrepo }}" target="_blank">{{ blk.name }}</a></th>
|
||||
<td>
|
||||
<a href="{{ blk.galaxy_url }}"><img src="{{ blk.galaxy_name | galaxy }}" /></a>
|
||||
<a href="{{ blk.galaxy_url }}"><img src="{{ {'name': blk.galaxy_name, 'state': blk.galaxy_name, 'label': 'ansible-galaxy'} | svg }}" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<img src="{{ {'name': blk.galaxy_name, 'state': blk.maintainance} | maintainance }}" />
|
||||
<img src="{{ {'name': blk.galaxy_name, 'state': blk.maintainance, 'label': 'maintainance'} | svg }}" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="{{ {'name': blk.galaxy_name, 'state': blk.license} | license }}" />
|
||||
<img src="{{ {'name': blk.galaxy_name, 'state': blk.license, 'label': 'license'} | svg }}" />
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
Loading…
Reference in a new issue