mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Added categories pages
This commit is contained in:
@ -14,6 +14,8 @@
|
||||
- editorial
|
||||
- almostfamous
|
||||
- guestcomentary
|
||||
- name: verbatim
|
||||
subcategories:
|
||||
- name: career
|
||||
subcategories:
|
||||
- name: archives
|
||||
|
||||
@ -23,13 +23,13 @@
|
||||
<ul class="dropdown-menu">
|
||||
{% for subcat in cat.subcategories %}
|
||||
{% if site.categories[subcat] != nil %}
|
||||
<li><a href="/category/{{ subcat }}">{{ subcat | uppercase }}</a></li>
|
||||
<li><a href="/category/{{ subcat }}/">{{ subcat | uppercase }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li><a href="/category/{{ cat.name }}">{{ cat.name | uppercase }}</a></li>
|
||||
{% elsif site.categories[cat.name] != nil%}
|
||||
<li><a href="/category/{{ cat.name }}/">{{ cat.name | uppercase }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
3
category/acads/index.html
Normal file
3
category/acads/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: acads
|
||||
---
|
||||
3
category/almostfamous/index.html
Normal file
3
category/almostfamous/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: almostfamous
|
||||
---
|
||||
3
category/archives/index.html
Normal file
3
category/archives/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: archives
|
||||
---
|
||||
3
category/bigstory/index.html
Normal file
3
category/bigstory/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: bigstory
|
||||
---
|
||||
3
category/career/index.html
Normal file
3
category/career/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: career
|
||||
---
|
||||
3
category/columns/index.html
Normal file
3
category/columns/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: columns
|
||||
---
|
||||
3
category/coverstory/index.html
Normal file
3
category/coverstory/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: coverstory
|
||||
---
|
||||
3
category/cultural/index.html
Normal file
3
category/cultural/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: cultural
|
||||
---
|
||||
3
category/guestcomentary/index.html
Normal file
3
category/guestcomentary/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: guestcomentary
|
||||
---
|
||||
3
category/news/index.html
Normal file
3
category/news/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: news
|
||||
---
|
||||
3
category/sac/index.html
Normal file
3
category/sac/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: sac
|
||||
---
|
||||
3
category/sports/index.html
Normal file
3
category/sports/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: sports
|
||||
---
|
||||
3
category/tech/index.html
Normal file
3
category/tech/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: tech
|
||||
---
|
||||
3
category/verbatim/index.html
Normal file
3
category/verbatim/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
category: verbatim
|
||||
---
|
||||
@ -450,6 +450,7 @@ footer {
|
||||
z-index: 10;
|
||||
background: white;
|
||||
padding-top: 10px;
|
||||
min-height: 100px;
|
||||
|
||||
.category-post {
|
||||
margin-bottom: 30px;
|
||||
|
||||
Reference in New Issue
Block a user