diff options
author | Victoria Drake <hello@victoria.dev> | 2021-01-02 15:39:21 +0300 |
---|---|---|
committer | Victoria Drake <hello@victoria.dev> | 2021-01-02 15:39:21 +0300 |
commit | e349e4232614d4f01ed7bd4d214192d6a68b5247 (patch) | |
tree | 0f4e0b1a5cf220422bbb1f7e1c5963e7b339dd69 | |
parent | 58e195aa23234e3dbb99794db365ea72b13d207e (diff) |
Update license year and docs
-rw-r--r-- | .github/workflows/build-to-docs.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test-versions.yml | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | .gitignore | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | LICENSE | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | README.md | 16 | ||||
-rw-r--r--[-rwxr-xr-x] | theme.toml | 0 |
6 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/build-to-docs.yml b/.github/workflows/build-to-docs.yml index e7f349d..ef6a1e9 100644 --- a/.github/workflows/build-to-docs.yml +++ b/.github/workflows/build-to-docs.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-node@master with: node-version: 10.x - - run: npm i -g postcss postcss-cli autoprefixer@9.8.6 + - run: npm i -g postcss postcss-cli autoprefixer - name: 🤵 Install Hugo run: | HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name') diff --git a/.github/workflows/test-versions.yml b/.github/workflows/test-versions.yml index 2512dcc..28bf33a 100644 --- a/.github/workflows/test-versions.yml +++ b/.github/workflows/test-versions.yml @@ -25,7 +25,7 @@ jobs: - name: Install tools run: | sudo apt install curl jq - npm i -g postcss postcss-cli autoprefixer@9.8.6 + npm i -g postcss postcss-cli autoprefixer - name: Test with Hugo ${{ matrix.hugo }} uses: peaceiris/actions-hugo@v2 diff --git a/.gitignore b/.gitignore index b418425..b418425 100755..100644 --- a/.gitignore +++ b/.gitignore diff --git a/README.md b/README.md index b06cbb8..18e3bf4 100755..100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Focused on content and typography, the stylized index page is really just a list ## Requirements
-- Extended version of [Hugo](https://gohugo.io/getting-started/installing/) (latest version recommended)
+Requires the **extended** version of Hugo. You can find [installation instructions here](https://gohugo.io/getting-started/installing/) (latest version recommended). Here's a handy [Bash function for downloading a specific Hugo version](https://victoria.dev/blog/how-to-do-twice-as-much-with-half-the-keystrokes-using-.bashrc/#bash-function-for-downloading-extended-hugo).
Extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles for this theme. If you're seeing an error like this:
@@ -39,12 +39,10 @@ Extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaSc Error: Error building site: POSTCSS failed to transform "css/main.css"
```
-You can install the required packages using `npm`. You'll need `postcss`, `postcss-cli`, and `autoprefixer`.
-
-To temporarily address [this issue](https://github.com/postcss/autoprefixer/issues/1358), please pin `autoprefixer@9.8.6`.
+Install the required packages globally using `npm`. You'll need `postcss`, `postcss-cli`, and `autoprefixer`.
```sh
-npm i -g postcss postcss-cli autoprefixer@9.8.6
+npm i -g postcss postcss-cli autoprefixer
```
If you're new to Node.js and npm, [learn how to install and use npm here](https://www.npmjs.com/get-npm). It is recommended that you use a version manager for your Node.js installation, such as [`nvm`](https://github.com/nvm-sh/nvm).
@@ -53,7 +51,7 @@ Note: If you are using [Hugo as a snap app](https://snapcraft.io/hugo), the abov ```sh
cd exampleSite/
-npm i -g postcss postcss-cli autoprefixer
+npm i postcss postcss-cli autoprefixer
```
## 1. Get the theme
@@ -219,6 +217,8 @@ Open source themes like this one would not be possible without some amazing __[c ## License
-Copyright (C) 2018-2020 Victoria Drake
+Copyright (C) 2018-2021 [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).
-Licensed under [Apache-2.0](https://github.com/victoriadrake/hugo-theme-sam/blob/master/LICENSE)
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
diff --git a/theme.toml b/theme.toml index 53d8387..53d8387 100755..100644 --- a/theme.toml +++ b/theme.toml |