Skip to content

Commit dd628d8

Browse files
committed
Bump Theme 5.18
1 parent 1ef12e4 commit dd628d8

28 files changed

Lines changed: 68 additions & 121 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Hugo
2323
uses: peaceiris/actions-hugo@v2
2424
with:
25-
hugo-version: '0.101.0'
25+
hugo-version: '0.117.0'
2626
# extended: true
2727

2828
- name: Build

.vscode/tasks.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
"--recursive",
2323
"--remote" ]
2424
}
25-
]
25+
],
26+
"explorer.sortOrder": "mixed"
2627
}

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM nginx:alpine as build
2+
3+
RUN apk add --update \
4+
wget
5+
6+
ARG HUGO_VERSION="0.117.0"
7+
RUN wget --quiet "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
8+
tar xzf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
9+
rm -r hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
10+
mv hugo /usr/bin
11+
12+
COPY ./ /site
13+
WORKDIR /site
14+
RUN hugo -b https://cc520.textbooks.cs.ksu.edu/
15+
16+
#Copy static files to Nginx
17+
FROM nginx:alpine
18+
COPY --from=build /site/public /usr/share/nginx/html
19+
20+
WORKDIR /usr/share/nginx/html

config.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ theme = ["hugo-theme-relearn"]
2222
# TELE - Teleprompter
2323
# EMBED - Embeddable Version
2424
[outputs]
25-
home = ["HTML", "RSS", "PRINT", "JSON"]
25+
home = ["HTML", "RSS", "PRINT", "SEARCH", "SEARCHPAGE"]
2626
section = ["HTML", "RSS", "PRINT", "TELE", "EMBED"]
2727
page = ["HTML", "RSS", "PRINT", "TELE", "EMBED"]
2828

@@ -89,7 +89,9 @@ theme = ["hugo-theme-relearn"]
8989
# this can be overridden in the pages frontmatter
9090
ordersectionsby = "weight"
9191
# Change default color scheme with a variant one. Eg. can be "red", "blue", "green" or an array like [ "blue", "green" ].
92-
themeVariant = ["light-theme", "dark-theme"]
92+
themeVariant = ["auto", "light-theme", "dark-theme"]
93+
# The first element is the variant for light mode, the second for dark mode
94+
themeVariantAuto = ["light-theme", "dark-theme"]
9395
# Change the title separator. Default to "::".
9496
# titleSeparator = "-"
9597
# If set to true, the menu in the sidebar will be displayed in a collapsible tree view.

content/00-course-intro/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
title = "Introduction"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 5
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "0"
67
pre = "<b>0. </b>"
78
+++
89

9-
### Chapter 0
10-
11-
# Course Details
12-
1310
Welcome to CC 520!

content/01-introduction-to-databases/_index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
title = "Introduction to Databases"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 10
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "1"
67
pre = "<b>1. </b>"
78
+++
89

9-
### Chapter 1
10-
11-
# Introduction to Databases
1210

1311
![Edgar F. Codd](https://upload.wikimedia.org/wikipedia/en/5/58/Edgar_F_Codd.jpg)

content/02-introduction-to-tables-and-constraints/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
title = "Introduction to Tables and Constraints"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 10
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "2"
67
pre = "<b>2. </b>"
78
+++
89

9-
### Chapter 2
10-
11-
# Introduction to Tables and Constraints
12-
1310
![Databases](https://community-cdn-digitalocean-com.global.ssl.fastly.net/variants/rxspzTBXppda8LhKfLEC9Eo7/035575f2985fe451d86e717d73691e533a1a00545d7230900ed786341dc3c882)
1411
<cite>[Image Source: digitalocean.com](https://community-cdn-digitalocean-com.global.ssl.fastly.net/variants/rxspzTBXppda8LhKfLEC9Eo7/035575f2985fe451d86e717d73691e533a1a00545d7230900ed786341dc3c882)</cite>

content/03-single-table-queries/03-single-table-queries-part-1/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title = "Single Table Queries Part 1"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 15
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "3.1"
67
pre = "<b>3.1 </b>"
78
+++
89

9-
# Single Table Queries Part 1
1010

1111
- Schemas & Objects
1212
- Minimum Table Requirements

content/03-single-table-queries/03-single-table-queries-part-2/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title = "Single Table Queries Part 2"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 20
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "3.2"
67
pre = "<b>3.2 </b>"
78
+++
89

9-
# Single Table Queries Part 2
1010

1111
- HAVING
1212
- ORDER BY

0 commit comments

Comments
 (0)