syntax error and some small fixes
This commit is contained in:
parent
c91dfcf691
commit
dc7c5affb3
5 changed files with 23 additions and 16 deletions
|
|
@ -24,6 +24,7 @@ main:
|
|||
- title: Molly's Page
|
||||
url: https://molly.linuxposting.xyz/
|
||||
idn: 'molly'
|
||||
target: '_blank'
|
||||
sub:
|
||||
- title: Register
|
||||
url: /register/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{% for item in site.data.nav.main %}
|
||||
<a href="{{ item.url }}"
|
||||
class="button {% if item.idn %}btn-{{item.idn}}{% endif %}"
|
||||
{% if item.target %}target="{{ item.target }}"{% endif %}
|
||||
id="btn-{{forloop.index}}">{{ item.title }}</a>
|
||||
{% endfor %}
|
||||
|
|
@ -6,5 +6,6 @@
|
|||
{% assign subnav_index = forloop.index | plus: subnav_offset %}
|
||||
<a href="{{ item.url }}"
|
||||
class="button {% if item.idn %}btn-{{item.idn}}{% endif %}"
|
||||
{% if item.target %}target="{{ item.target }}"{% endif %}
|
||||
id="btn-{{ subnav_index }}">{{ item.title }}</a>
|
||||
{% endfor %}
|
||||
|
|
@ -13,12 +13,6 @@
|
|||
<h1>{{ page.headline }}</h1>
|
||||
<form action="#">
|
||||
<input type="text" placeholder="Search.." name="search">
|
||||
<!-- FIXME: the search icon should either be added manually
|
||||
using the unicode and adding nerdfonts as a fallback
|
||||
font, or by @importing the nerdfont css file which
|
||||
will add the icon using 'content:' just by the class.
|
||||
Here you have marked it as both while not adding
|
||||
nerdfonts as a font in any way. -->
|
||||
<button type="submit"><i class="nerd nf-fa-search"> </i></button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -79,14 +73,19 @@
|
|||
<p>No announcements available at the moment.</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<a href="/feed.xml" class="button-small">
|
||||
<div class="news-button-area">
|
||||
<a href="/announcements/" class="button-small">
|
||||
<img src="/assets/img/icon.png">Read More
|
||||
</a>
|
||||
<a href="/announcements/feed.xml" class="button-small">
|
||||
<img src="/assets/img/icon.png">RSS Feed
|
||||
<!-- Pixel Molly with 'RSS icon' icon -->
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news">
|
||||
<div class="news-item">
|
||||
<h5>NEWS NEWS NEWS</h5>
|
||||
<h5>NEWSLETTER</h5>
|
||||
{% for article in site.news %}
|
||||
<p>
|
||||
<a href="{{ article.url }}">{{ article.headline }}</a>
|
||||
|
|
@ -95,11 +94,16 @@
|
|||
<p>No news articles available at the moment.</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<a href="#" class="button-small">
|
||||
<div class="news-button-area">
|
||||
<a href="/news/" class="button-small">
|
||||
<img src="/assets/img/icon.png">Read more
|
||||
</a>
|
||||
<a href="/news/feed.xml" class="button-small">
|
||||
<img src="/assets/img/icon.png">RSS Feed
|
||||
<!-- Pixel Molly with 'RSS icon' icon -->
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Oneko does not like eating mice, just chasing them.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ module Jekyll
|
|||
end
|
||||
if config['settings']['process_collections'] == true
|
||||
combined_applicable += site.collections.values.map(&:docs).flatten
|
||||
elif config['settings']['process_collections'].is_a?(Array)
|
||||
elsif config['settings']['process_collections'].is_a?(Array)
|
||||
for collection_name in config['settings']['process_collections']
|
||||
if site.collections.key?(collection_name)
|
||||
combined_applicable += site.collections[collection_name].docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue