Skip to content

Commit ad1baff

Browse files
committed
Update deprecated items
1 parent db537d6 commit ad1baff

File tree

60 files changed

+782
-503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+782
-503
lines changed

.github/workflows/build-to-docs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ jobs:
2525
- run: npm i -g postcss postcss-cli autoprefixer
2626
- name: 🤵 Install Hugo
2727
run: |
28-
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name')
29-
mkdir tmp/ && cd tmp/
30-
curl -sSL https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION: -6}_Linux-64bit.tar.gz | tar -xvzf-
31-
sudo mv hugo /usr/local/bin/
32-
cd .. && rm -rf tmp/
33-
hugo version
28+
sudo apt-get install jq
29+
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name')
30+
curl -sSL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION:1}_linux-amd64.deb" -o hugo.deb
31+
sudo dpkg -i hugo.deb
32+
hugo version
3433
- name: 🧹 Clean site
3534
run: |
3635
if [ -d "docs" ]; then

.github/workflows/test-versions.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,32 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
hugo: ['0.49.2', '0.50', '0.51', '0.52', '0.53', '0.54.0', '0.55.0', '0.56.0', '0.57.0', '0.58.0', '0.59.0', '0.60.0', '0.61.0', '0.62.0', '0.63.0', '0.64.0', '0.65.0', '0.66.0', '0.67.0']
13+
hugo: ['0.135.0', '0.136.5', '0.137.1', '0.138.0']
1414

1515
fail-fast: true
1616

1717

1818
steps:
19-
- uses: actions/checkout@master
19+
- uses: actions/checkout@v4
2020

2121
- name: Set up Node
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v4
2323
with:
24-
node-version: 12.x
24+
node-version: lts/*
2525
- name: Install tools
2626
run: |
2727
sudo apt install curl jq
2828
npm i -g postcss postcss-cli autoprefixer
2929
3030
- name: Test with Hugo ${{ matrix.hugo }}
31-
uses: peaceiris/actions-hugo@v2
31+
uses: peaceiris/actions-hugo@v3
3232
with:
3333
hugo-version: ${{ matrix.hugo }}
3434
extended: true
3535

3636
- name: Build with Hugo ${{ matrix.hugo }}
3737
run: |
38-
cd exampleSite
39-
HUGO_THEME="hugo-theme-sam" hugo --themesDir ../.. -v
38+
cd exampleSite && HUGO_THEME="hugo-theme-introduction" hugo --themesDir ../..
4039
4140
- name: Test HTML from Hugo ${{ matrix.hugo }}
4241
run: docker run -v ${GITHUB_WORKSPACE}/public/:/mnt 18fgsa/html-proofer mnt --disable-external

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Preview the theme by cloning this repository and running the example site.
3232

3333
```sh
3434
git clone https://github.com/victoriadrake/hugo-theme-sam.git themes/sam
35-
cd exampleSite && HUGO_THEME="hugo-theme-sam" hugo server --themesDir ../.. -v
35+
cd exampleSite && HUGO_THEME="hugo-theme-sam" hugo server --themesDir ../..
3636
```
3737

3838
## Requirements

docs/about/index.html

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727

28-
<link rel="stylesheet" href="/hugo-theme-sam/css/main.min.c5514d3530979d291f3497facc20da1cec870028dbc2a3630b64bab8721bbe49.css" integrity="sha256-xVFNNTCXnSkfNJf6zCDaHOyHACjbwqNjC2S6uHIbvkk=" crossorigin="anonymous" media="screen">
28+
<link rel="stylesheet" href="/hugo-theme-sam/sass/style.sass" integrity="" crossorigin="anonymous" media="screen">
2929

3030

3131

@@ -39,22 +39,25 @@
3939

4040
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Didact+Gothic">
4141

42-
<meta name="twitter:card" content="summary_large_image"/>
43-
<meta name="twitter:image" content="https://victoria.dev/hugo-theme-sam/tn.png"/>
4442

45-
<meta name="twitter:title" content="About"/>
46-
<meta name="twitter:description" content="Hello, I&rsquo;m Sam. I&rsquo;m a theme for Hugo. I&rsquo;m an extremely customizable, content-focused theme that lets you showcase your work your way. I&rsquo;m open source on GitHub.
43+
<meta name="twitter:card" content="summary_large_image">
44+
<meta name="twitter:image" content="https://victoria.dev/hugo-theme-sam/tn.png">
45+
<meta name="twitter:title" content="About">
46+
<meta name="twitter:description" content="Hello, I’m Sam. I’m a theme for Hugo. I’m an extremely customizable, content-focused theme that lets you showcase your work your way. I’m open source on GitHub.
4747
I have slick minimalist templates for list pages (such as a list of blog posts) and single pages (a page to read one blog post). You can use tags on your content, and view content by tags.
48-
I also have a simple responsive gallery feature."/>
48+
I also have a simple responsive gallery feature. It’ll look great on any screen, and all you have to do is provide a folder of images.">
4949

50-
<meta property="og:title" content="About" />
51-
<meta property="og:description" content="Hello, I&rsquo;m Sam. I&rsquo;m a theme for Hugo. I&rsquo;m an extremely customizable, content-focused theme that lets you showcase your work your way. I&rsquo;m open source on GitHub.
50+
<meta property="og:url" content="https://victoria.dev/hugo-theme-sam/about/">
51+
<meta property="og:site_name" content="Call me Sam">
52+
<meta property="og:title" content="About">
53+
<meta property="og:description" content="Hello, I’m Sam. I’m a theme for Hugo. I’m an extremely customizable, content-focused theme that lets you showcase your work your way. I’m open source on GitHub.
5254
I have slick minimalist templates for list pages (such as a list of blog posts) and single pages (a page to read one blog post). You can use tags on your content, and view content by tags.
53-
I also have a simple responsive gallery feature." />
54-
<meta property="og:type" content="article" />
55-
<meta property="og:url" content="https://victoria.dev/hugo-theme-sam/about/" /><meta property="og:image" content="https://victoria.dev/hugo-theme-sam/tn.png"/><meta property="article:section" content="" />
56-
<meta property="article:published_time" content="2018-02-13T13:42:49-05:00" />
57-
<meta property="article:modified_time" content="2018-02-13T13:42:49-05:00" /><meta property="og:site_name" content="Call me Sam" />
55+
I also have a simple responsive gallery feature. It’ll look great on any screen, and all you have to do is provide a folder of images.">
56+
<meta property="og:locale" content="en_us">
57+
<meta property="og:type" content="article">
58+
<meta property="article:published_time" content="2018-02-13T13:42:49-05:00">
59+
<meta property="article:modified_time" content="2018-02-13T13:42:49-05:00">
60+
<meta property="og:image" content="https://victoria.dev/hugo-theme-sam/tn.png">
5861

5962

6063

@@ -118,7 +121,7 @@ <h1>About</h1>
118121

119122

120123
&#183;
121-
<a href="/hugo-theme-sam">
124+
<a href="/hugo-theme-sam/">
122125
main
123126
</a>
124127

docs/categories/index.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727

28-
<link rel="stylesheet" href="/hugo-theme-sam/css/main.min.c5514d3530979d291f3497facc20da1cec870028dbc2a3630b64bab8721bbe49.css" integrity="sha256-xVFNNTCXnSkfNJf6zCDaHOyHACjbwqNjC2S6uHIbvkk=" crossorigin="anonymous" media="screen">
28+
<link rel="stylesheet" href="/hugo-theme-sam/sass/style.sass" integrity="" crossorigin="anonymous" media="screen">
2929

3030

3131

@@ -39,16 +39,19 @@
3939

4040
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Didact+Gothic">
4141

42-
<meta name="twitter:card" content="summary_large_image"/>
43-
<meta name="twitter:image" content="https://victoria.dev/hugo-theme-sam/tn.png"/>
4442

45-
<meta name="twitter:title" content="Categories"/>
46-
<meta name="twitter:description" content="A new Hugo site."/>
43+
<meta name="twitter:card" content="summary_large_image">
44+
<meta name="twitter:image" content="https://victoria.dev/hugo-theme-sam/tn.png">
45+
<meta name="twitter:title" content="Categories">
46+
<meta name="twitter:description" content="A new Hugo site.">
4747

48-
<meta property="og:title" content="Categories" />
49-
<meta property="og:description" content="A new Hugo site." />
50-
<meta property="og:type" content="website" />
51-
<meta property="og:url" content="https://victoria.dev/hugo-theme-sam/categories/" /><meta property="og:image" content="https://victoria.dev/hugo-theme-sam/tn.png"/><meta property="og:site_name" content="Call me Sam" />
48+
<meta property="og:url" content="https://victoria.dev/hugo-theme-sam/categories/">
49+
<meta property="og:site_name" content="Call me Sam">
50+
<meta property="og:title" content="Categories">
51+
<meta property="og:description" content="A new Hugo site.">
52+
<meta property="og:locale" content="en_us">
53+
<meta property="og:type" content="website">
54+
<meta property="og:image" content="https://victoria.dev/hugo-theme-sam/tn.png">
5255

5356

5457

@@ -113,7 +116,7 @@ <h1>Categories</h1>
113116

114117

115118
&#183;
116-
<a href="/hugo-theme-sam">
119+
<a href="/hugo-theme-sam/">
117120
main
118121
</a>
119122

docs/categories/index.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<title>Categories on Call me Sam</title>
55
<link>https://victoria.dev/hugo-theme-sam/categories/</link>
66
<description>Recent content in Categories on Call me Sam</description>
7-
<generator>Hugo -- gohugo.io</generator>
8-
<language>en-us</language><atom:link href="https://victoria.dev/hugo-theme-sam/categories/index.xml" rel="self" type="application/rss+xml" />
7+
<generator>Hugo</generator>
8+
<language>en-us</language>
9+
<atom:link href="https://victoria.dev/hugo-theme-sam/categories/index.xml" rel="self" type="application/rss+xml" />
910
</channel>
1011
</rss>
66.5 KB
Loading
39.6 KB
Loading
57.9 KB
Loading
157 KB
Loading

0 commit comments

Comments
 (0)