The restic.net website
  • HTML 96.4%
  • CSS 3.5%
  • SCSS 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
rawtaz 48595bca82
Merge pull request #54 from restic/blog-0191
Add blog post for restic 0.19.1
2026-07-06 23:11:50 +02:00
.github/workflows skip link checks for RTD and wikipedia 2026-06-09 22:56:06 +02:00
archetypes Replace entire Jekyll site with corresponding Hugo site 2020-07-28 19:10:22 +02:00
assets/css remove inline CSS 2023-08-20 21:00:06 +02:00
content Add blog post for restic 0.19.1 2026-07-06 22:54:57 +02:00
layouts Replace deprecated languageCode config key with locale 2026-06-09 22:05:42 +02:00
public Add blog post for restic 0.19.1 2026-07-06 22:54:57 +02:00
static remove fontawesome library and add github+mastodon icons manually as SVG 2023-08-20 21:00:06 +02:00
.gitignore Upgrade to Hugo 0.101.0 (extended version) 2022-08-21 22:56:06 +02:00
hugo.toml Replace deprecated languageCode config key with locale 2026-06-09 22:05:42 +02:00
README.rst Replace build.sh with updated Hugo config 2024-01-10 23:08:31 +01:00

|Build Status|

This is the repository for the website content at `restic.net <https://restic.net>`__, generated using `Hugo <https://gohugo.io>`__.

**NOTE:** The `"extended" version of Hugo <https://gohugo.io/troubleshooting/faq/#i-get--this-feature-is-not-available-in-your-current-hugo-version>`__ must be used when building this website, as it uses SCSS for some parts of the styling. When downloading/installing Hugo, use the `"hugo-extended" package <https://github.com/gohugoio/hugo/releases>`__.

The generated website can be checked for dangling links with `muffet <https://github.com/raviqqe/muffet>`__:

    $ muffet https://restic.net

To create a new blog post, do the following:

- Run ``hugo new blog/my-new-post.md`` where ``my-new-post`` will be the part of the URL that you control (besides the date, which is taken from the frontmatter in the file) - please keep it lowercase only!
- Edit the newly created file ``contents/blog/my-new-post.md`` - adjust the title and date if needed, and add the content in MarkDown format (supports inline HTML).
- To make the post a draft or future publish it, see `here <https://gohugo.io/getting-started/usage/#draft-future-and-expired-content>`__.
- To embed an image in the post, place the image file in the ``static/blog/`` directory and reference it in the post file like this ``![My fancy image](/blog/my-fancy-image.png)`` (the text will be the alt/description of the image).

To re-generate the website, run ``hugo`` - this will run Hugo with the proper settings (configured in `hugo.toml`) and the website will be generated in the ``public/`` directory.

.. |Build Status| image:: https://github.com/restic/restic.net/actions/workflows/checks.yml/badge.svg
   :target: https://github.com/restic/restic.net/actions/workflows/checks.yml