FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tmallfe.github.io/categories.html at master · tmallfe/tmallfe.github.io · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
tmallfe
/
tmallfe.github.io
Public
Notifications
You must be signed in to change notification settings
Fork
494
Star
3.9k
Code
Issues
38
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tmallfe.github.io
/
categories.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (49 loc) · 1.76 KB
Breadcrumbs
tmallfe.github.io
/
categories.html
Copy path
File metadata and controls
51 lines (49 loc) · 1.76 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: page
title: Categories
header: Posts By Category
group: navigation
---
<
div
class
="
col-sm-3 col-xs-6
"
>
<
ul
class
="
nav nav-tabs-vertical cat-tag-menu
"
>
{% assign categories_list = site.categories %}
{% if categories_list.first[0] == null %}
{% for category in categories_list %}
<
li
>
<
a
href
="
#{{ category | replace:' ','-' }}-ref
"
>
{{ category | capitalize }}
<
span
class
="
badge pull-right
"
>
{{ site.categories[category].size }}
</
span
>
</
a
>
</
li
>
{% endfor %}
{% else %}
{% for category in categories_list %}
<
li
>
<
a
href
="
#{{ category[0] | replace:' ','-' }}-ref
"
>
{{ category[0] | capitalize }}
<
span
class
="
badge pull-right
"
>
{{ category[1].size }}
</
span
>
</
a
>
</
li
>
{% endfor %}
{% endif %}
{% assign categories_list = nil %}
</
ul
>
</
div
>
<!-- Tab panes -->
<
div
class
="
tab-content col-sm-9 col-xs-6
"
>
{% for category in site.categories %}
<
div
class
="
tab-pane
"
id
="
{{ category[0] | replace:' ','-' }}-ref
"
>
<
h2
style
="
margin-top: 0px
"
>
Posts in {{ category[0] | capitalize }}
</
h2
>
<
ul
class
="
list-unstyled
"
>
{% assign pages_list = category[1] %}
{% for node in pages_list %}
{% if node.title != null %}
{% if group == null or group == node.group %}
<
li
style
="
line-height: 35px;
"
>
<
a
href
="
{{ site.BASE_PATH }}{{node.url}}
"
>
{{node.title}}
</
a
>
<
span
class
="
text-muted
"
>
- {{ node.date | date: "%B %d, %Y" }}
</
span
>
</
li
>
{% endif %}
{% endif %}
{% endfor %}
{% assign pages_list = nil %}
</
ul
>
</
div
>
{% endfor %}
</
div
>
<
div
class
="
clearfix
"
>
</
div
>
Back
|
FazBrowse Home
|
New Git URL