Update to how Hugo is installed (use extended version)

This commit is contained in:
Benjamin Bach 2020-10-01 12:29:06 +02:00
parent 55acb6bbb1
commit fcb4146956
Signed by: benjaoming
GPG Key ID: 7D49441634585664
1 changed files with 5 additions and 5 deletions

View File

@ -33,12 +33,12 @@ mirror to find a newer version of Hugo / libsass.
.. code-block:: console
# Install Hugo
$ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/libs/libsass/libsass1_3.6.1-1_amd64.deb -O /tmp/libsass1.deb
$ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/h/hugo/hugo_0.58.3-1_amd64.deb -O /tmp/hugo.deb
$ sudo dpkg -i /tmp/hugo.deb /tmp/libsass1.deb
HUGO_VERSION="0.63.2"
wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
sudo dpkg -i hugo.deb
# ...or try sudo gdebi hugo.deb
# Go to project directory
# Go to project directory inside this repository
$ cd hugo_site
# Run dev server