Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <upagge@mail.ru>2020-12-26 17:48:24 +0300
committeruPagge <upagge@mail.ru>2020-12-26 17:48:24 +0300
commit423c264dfd5a1bcdc3543fdb5f65779091dbbce4 (patch)
tree841d32fed7ba587209d0b2dcf983067250afb339 /exampleSite/content/posts/theme-documentation-basics/index.en.md
parent8f005fef505d726814ebe42a924c20b378cfc483 (diff)
bugfix image hidden post
Diffstat (limited to 'exampleSite/content/posts/theme-documentation-basics/index.en.md')
-rw-r--r--exampleSite/content/posts/theme-documentation-basics/index.en.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md
index 1a0b885..9f5e62f 100644
--- a/exampleSite/content/posts/theme-documentation-basics/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md
@@ -48,7 +48,7 @@ The following steps are here to help you initialize your new website. If you don
Hugo provides a `new` command to create a new website:
-```bash
+```shell script
hugo new site my_website
cd my_website
```
@@ -61,13 +61,13 @@ You can download the [latest release :(far fa-file-archive fa-fw): .zip file](ht
Alternatively, clone this repository to the `themes` directory:
-```bash
+```shell script
git clone https://github.com/upagge/uBlogger.git themes/uBlogger
```
Or, create an empty git repository and make this repository a submodule of your site directory:
-```bash
+```shell script
git init
git submodule add https://github.com/upagge/uBlogger.git themes/uBlogger
```
@@ -136,7 +136,7 @@ When building the website, you can set a theme by using `--theme` option. Howeve
Here is the way to create your first post:
-```bash
+```shell script
hugo new posts/first_post.md
```
@@ -154,7 +154,7 @@ You can copy /uBlogger/archetypes/default.md to your archetypes folder to create
Launch by using the following command:
-```bash
+```shell script
hugo serve
```
@@ -170,7 +170,7 @@ When you run `hugo serve`, when the contents of the files change, the page autom
Since the theme use `.Scratch` in Hugo to implement some features,
it is highly recommended that you add `--disableFastRender` parameter to `hugo server` command for the live preview of the page you are editing.
-```bash
+```shell script
hugo serve --disableFastRender
```
{{< /admonition >}}
@@ -179,7 +179,7 @@ hugo serve --disableFastRender
When your site is ready to deploy, run the following command:
-```bash
+```shell script
hugo
```