Go to file
Benjamin Bach 2f5c2f9ba3 Update new mail and footer, add PGP 2019-08-01 17:13:45 +02:00
hugo_site Update new mail and footer, add PGP 2019-08-01 17:13:45 +02:00
.gitignore Update new mail and footer, add PGP 2019-08-01 17:13:45 +02:00
LICENSE Initial commit 2019-04-30 11:27:59 +00:00
README.rst Initial site structure 2019-04-30 16:39:24 +02:00

README.rst

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

arbejdsfaellesskab.dk
=====================

Hele dette projekt er på engelsk. Deal with it ┌༼▀̿ Ĺ̯▀̿༽┐

This project contains a ``hugo_site/`` folder, which is the
`Hugo <https://gohugo.io/>`__ project for static site generation (the main
site)::

  .
  └── hugo_site  # <= Hugo project
      ├── content  # <= This is where all the content lives!
      │   └── ...
      └── themes
          └── tranetheme  # <= The theme
              ├── layouts  # <= HTML templates
              ├── static  # <= CSS etc
              └── ...


Developing the Hugo site
------------------------

We use a **static main site** because we want to archive the main conference
website as easily as possible. We are using the latest Hugo from the Debian
repositories, but the version from Ubuntu 18.04 is too old.

See below method to directly fetch 2 .deb files from a Debian mirror and
install them.

.. code-block:: console

  # Install Hugo
  $ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/libs/libsass/libsass1_3.5.5-2_amd64.deb -O /tmp/libsass1.deb
  $ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/h/hugo/hugo_0.54.0-1_amd64.deb -O /tmp/hugo.deb
  $ sudo dpkg -i /tmp/hugo.deb /tmp/libsass1.deb

  # Go to project directory
  $ cd hugo_site

  # Run dev server
  $ hugo server