mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Misc TLC
- Update packages, npm and node in workflows - Update tested versions - Update license years and README - Build with latest Hugo
This commit is contained in:
parent
0d75cfe09f
commit
052a699484
9 changed files with 12869 additions and 330 deletions
9
.github/workflows/test-versions.yml
vendored
9
.github/workflows/test-versions.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
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']
|
||||
hugo: ['0.49.2', '0.50', '0.60.0', '0.70.0', '0.80.0', '0.90.0', '0.91.0', '0.92.0']
|
||||
|
||||
fail-fast: true
|
||||
|
||||
|
@ -19,9 +19,9 @@ jobs:
|
|||
- uses: actions/checkout@master
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12.x
|
||||
node-version: 16.x
|
||||
- name: Install tools
|
||||
run: |
|
||||
sudo apt install curl jq
|
||||
|
@ -35,8 +35,7 @@ jobs:
|
|||
|
||||
- name: Build with Hugo ${{ matrix.hugo }}
|
||||
run: |
|
||||
cd exampleSite
|
||||
HUGO_THEME="hugo-theme-introduction" hugo --themesDir ../.. -v
|
||||
cd exampleSite && HUGO_THEME="hugo-theme-introduction" hugo --themesDir ../.. -v
|
||||
|
||||
- name: Test HTML from Hugo ${{ matrix.hugo }}
|
||||
run: docker run -v ${GITHUB_WORKSPACE}/public/:/mnt 18fgsa/html-proofer mnt --disable-external
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
exampleSite/public
|
||||
node_modules
|
||||
.hugo_build.lock
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -186,7 +186,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
Copyright 2022 Victoria Drake
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
Introduction is a minimalist, highly-versatile theme for Hugo. It can be configured as a single page, or as a full-featured site with multiple sections. It is multilingual, responsive, and includes a light and dark theme.
|
||||
|
||||
New to the Hugo static site generator? [Learn the fundamentals here](https://gohugo.io/categories/fundamentals).
|
||||
|
||||
![Device mockups](https://github.com/victoriadrake/hugo-theme-introduction/blob/master/images/mockup.png)
|
||||
|
||||
Features:
|
||||
|
@ -213,7 +215,7 @@ This theme would not be nearly as awesome without its amazing community of open
|
|||
|
||||
## License
|
||||
|
||||
Copyright (C) 2017-2021 [Victoria Drake](https://victoria.dev/)
|
||||
Copyright (C) 2017-2022 [Victoria Drake](https://victoria.dev/)
|
||||
|
||||
Licensed under the [Apache License, Version 2.0](https://github.com/victoriadrake/hugo-theme-introduction/blob/master/LICENSE) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
||||
|
||||
|
|
12532
exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content
generated
Normal file
12532
exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content
generated
Normal file
File diff suppressed because it is too large
Load diff
1
exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.json
generated
Normal file
1
exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.json
generated
Normal file
|
@ -0,0 +1 @@
|
|||
{"Target":"css/main.css","MediaType":"text/css","Data":{}}
|
|
@ -16,6 +16,6 @@
|
|||
command = "npm run build"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.86.0"
|
||||
NODE_VERSION = "16.9.1"
|
||||
NPM_VERSION = "8.3.0"
|
||||
HUGO_VERSION = "0.92.1"
|
||||
NODE_VERSION = "17.4.0"
|
||||
NPM_VERSION = "8.3.1"
|
||||
|
|
637
package-lock.json
generated
637
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,8 +1,11 @@
|
|||
{
|
||||
"scripts": {
|
||||
"build": "npm install -g postcss postcss-cli autoprefixer && cd exampleSite && hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/"
|
||||
"build": "npm install -g postcss postcss-cli autoprefixer && cd exampleSite && hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/",
|
||||
"dev": "cd exampleSite && ENVIRONMENT=development hugo -t ../.. server"
|
||||
},
|
||||
"dependencies": {
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.2",
|
||||
"postcss": "^8.4.6",
|
||||
"postcss-cli": "^9.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue