File tree 5 files changed +12
-6
lines changed 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ gem "jekyll", "~> 4.2.0"
17
17
# If you have any plugins, put them here!
18
18
group :jekyll_plugins do
19
19
gem "jekyll-feed" , "~> 0.12"
20
+ gem "jekyll-github-metadata"
20
21
end
21
22
22
23
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ baseurl: "/dcs-notes.github.io"
27
27
# theme: jekyll-theme-cayman
28
28
plugins :
29
29
- jekyll-feed
30
+ - jekyll-github-metadata
30
31
markdown : kramdown
31
32
github :
32
33
repository_url : https://github.com/CSRG-Group/dcs-notes.github.io
@@ -92,6 +93,11 @@ collections:
92
93
output : true
93
94
CS131 :
94
95
output : true
96
+ order :
97
+ - part1.md
98
+ - part2.md
99
+ - part3.md
100
+ - part4.md
95
101
CS132 :
96
102
output : true
97
103
order :
Original file line number Diff line number Diff line change 1
1
{%- if include.pre -%}
2
- < a href ="{{ site.baseurl }}{{ include.pre }} " title ="{{ include.ntitle }} "> 👈Prev</ a >
2
+ < a href ="{{ include.pre | relative_url }} " title ="{{ include.ptitle }} "> 👈Prev</ a >
3
3
{%- endif -%}
4
4
< a href ="./ " title ="{{ include.mod }} Home "> 🏡{{ include.mod }}</ a >
5
5
{%- if include.nex -%}
6
- < a href ="{{ site.baseurl }}{{ include.nex }} " title ="{{ include.ptitle }} "> Next👉</ a >
6
+ < a href ="{{ include.nex | relative_url }} " title ="{{ include.ntitle }} "> Next👉</ a >
7
7
{%- endif -%}
Original file line number Diff line number Diff line change 22
22
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
23
23
< meta name ="theme-color " content ="#157878 ">
24
24
< meta name ="apple-mobile-web-app-status-bar-style " content ="black-translucent ">
25
- < link rel ="stylesheet " href ="{{ site.baseurl }} /assets/css/style.css ">
25
+ < link rel ="stylesheet " href ="{{ ' /assets/css/style.css?v=' | append: site.github.build_revision | relative_url }} ">
26
26
</ head >
27
27
< body >
28
28
< header class ="page-header " role ="banner ">
29
29
< h1 class ="project-name "> {{ page.title | default: site.title | default: site.github.repository_name }}</ h1 >
30
30
< h2 class ="project-tagline "> {{ page.description | default: site.description | default: site.github.project_tagline }}</ h2 >
31
+ {% if site.github.is_project_page %}
31
32
< a href ="{{ site.github.repository_url }} " class ="btn "> View on GitHub</ a >
33
+ {% endif %}
32
34
{% if site.show_downloads %}
33
35
< a href ="{{ site.github.zip_url }} " class ="btn "> Download .zip</ a >
34
36
< a href ="{{ site.github.tar_url }} " class ="btn "> Download .tar.gz</ a >
@@ -42,7 +44,6 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
42
44
{% if site.github.is_project_page %}
43
45
< span class ="site-footer-owner "> < a href ="{{ site.github.repository_url }} "> {{ site.github.repository_name }}</ a > is maintained by < a href ="{{ site.github.owner_url }} "> {{ site.github.owner_name }}</ a > .</ span >
44
46
{% endif %}
45
- < span class ="site-footer-credits "> This page was generated by < a href ="https://pages.github.com "> GitHub Pages</ a > .</ span >
46
47
</ footer >
47
48
</ main >
48
49
</ body >
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ <h2 style="margin-left: 10px;">Table of Contents</h2>
81
81
}}</ a > is maintained by < a href ="{{ site.github.owner_url }} "> {{ site.github.owner_name
82
82
}}</ a > .</ span >
83
83
{% endif %}
84
- < span class ="site-footer-credits "> This page was generated by < a href ="https://pages.github.com "> GitHub
85
- Pages</ a > .</ span >
86
84
</ footer >
87
85
</ main >
88
86
</ div >
You can’t perform that action at this time.
0 commit comments