commit dcb8087d2402d47c3656e66b6d48c9e17de356e5
parent 001da214ade9605972c9c914edd21441543add73
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Thu, 15 Dec 2022 15:14:24 +0200
Change formatting of code to be indented
Diffstat:
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/content/posts/how-to-create-your-own-website.md b/content/posts/how-to-create-your-own-website.md
@@ -21,36 +21,36 @@ It has a simple, easy-to-use interface and comes with a wide range of customizab
To get started with Hugo, you'll need to download and install Hugo on your computer.
1. Once you have Hugo installed, you can create a new website by running the following command in your terminal:
-``` shell
-hugo new site SITE-NAME
-```
-This will create a new Hugo project in the current directory.
+ ``` shell
+ hugo new site SITE-NAME
+ ```
+ This will create a new Hugo project in the current directory.
2. Next, install git and initialize the directory as a git repository:
-``` shell
-git init
-```
-Initializing the directory as a git repository is a useful way to keep track of changes and it will also be needed later when we upload our site to GitHub.
+ ``` shell
+ git init
+ ```
+ Initializing the directory as a git repository is a useful way to keep track of changes and it will also be needed later when we upload our site to GitHub.
3. Download a theme for you website from https://themes.gohugo.io/. A hugo theme is a template that defines the look and feel of your site. Add a theme to your site by running the following command in the root directory of your site:
-``` shell
-git submodule add https://github.com/THEME_NAME/ themes/
-```
-This will create a folder in the `/themes/` directory where your theme is stored.
+ ``` shell
+ git submodule add https://github.com/THEME_NAME/ themes/
+ ```
+ This will create a folder in the `/themes/` directory where your theme is stored.
3. Open the `config.toml` file and edit according to your theme.
4. Create content for your website by using the `hugo new` command. e.g.
-``` shell
-hugo new posts/my-first-post.md
-```
-This will create a markdown file under the `/content/posts/` directory where you can edit your content. Hugo uses Markdown files for content, which makes it easy to write and format your content using a simple, readable syntax.
+ ``` shell
+ hugo new posts/my-first-post.md
+ ```
+ This will create a markdown file under the `/content/posts/` directory where you can edit your content. Hugo uses Markdown files for content, which makes it easy to write and format your content using a simple, readable syntax.
5. Run the following command in the directory of your site:
-``` shell
-hugo server
-```
-Hugo will build a local version of your site that you can view by going to `http://localhost:1313/` inside your browser. Hugo will also automatically show any changes you make to the site, no need to rerun the command or refresh the page.
+ ``` shell
+ hugo server
+ ```
+ Hugo will build a local version of your site that you can view by going to `http://localhost:1313/` inside your browser. Hugo will also automatically show any changes you make to the site, no need to rerun the command or refresh the page.
# Hosting your site
diff --git a/content/posts/turning-a-window-manager-into-a-desktop-environment.md b/content/posts/turning-a-window-manager-into-a-desktop-environment.md
@@ -114,13 +114,13 @@ To use nitrogen or feh to set your wallpaper, follow these steps:
6. Add a line to your startup script to set the wallpaper.
If you're using nitrogen add:
-```shell
-nitrogen --restore
-```
-If you're using feh add:
-```shell
-feh --bg-scale /path/to/image.jpg
-```
+ ```shell
+ nitrogen --restore
+ ```
+ If you're using feh add:
+ ```shell
+ feh --bg-scale /path/to/image.jpg
+ ```
### Bar