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
|
- editorial
|
||||||
- almostfamous
|
- almostfamous
|
||||||
- guestcomentary
|
- guestcomentary
|
||||||
|
- name: verbatim
|
||||||
|
subcategories:
|
||||||
- name: career
|
- name: career
|
||||||
subcategories:
|
subcategories:
|
||||||
- name: archives
|
- name: archives
|
||||||
|
|||||||
@ -23,13 +23,13 @@
|
|||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
{% for subcat in cat.subcategories %}
|
{% for subcat in cat.subcategories %}
|
||||||
{% if site.categories[subcat] != nil %}
|
{% if site.categories[subcat] != nil %}
|
||||||
<li><a href="/category/{{ subcat }}">{{ subcat | uppercase }}</a></li>
|
<li><a href="/category/{{ subcat }}/">{{ subcat | uppercase }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% elsif site.categories[cat.name] != nil%}
|
||||||
<li><a href="/category/{{ cat.name }}">{{ cat.name | uppercase }}</a></li>
|
<li><a href="/category/{{ cat.name }}/">{{ cat.name | uppercase }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</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;
|
z-index: 10;
|
||||||
background: white;
|
background: white;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
min-height: 100px;
|
||||||
|
|
||||||
.category-post {
|
.category-post {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
|||||||
Reference in New Issue
Block a user