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

github.com/bjacquemet/personal-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jacquemet <baptiste.jacquemet@gmail.com>2019-05-07 11:06:05 +0300
committerBaptiste Jacquemet <baptiste.jacquemet@gmail.com>2019-05-07 11:06:05 +0300
commit1aa043c3c98bed76c1db179b9b3d8d5197973043 (patch)
treea81453771926de1543c09ca61f3eb674e84f537c
parentcd4d807b7c97217a646d89919a39d1b88727327d (diff)
fix exampleSite
-rw-r--r--exampleSite/content/post/archetypes.md2
-rw-r--r--exampleSite/content/post/getting-started.md4
-rw-r--r--exampleSite/content/post/shortcodes.md4
3 files changed, 8 insertions, 2 deletions
diff --git a/exampleSite/content/post/archetypes.md b/exampleSite/content/post/archetypes.md
index e5f3a57..c2e269e 100644
--- a/exampleSite/content/post/archetypes.md
+++ b/exampleSite/content/post/archetypes.md
@@ -7,6 +7,8 @@ publishDate: "2019-05-02T19:25:30+02:00"
The archetypes are defined in the `archetypes` folder, for both post and portfolio.
+<!--more-->
+
The archetypes are defined in YAML, so Front matter is formatted in YAML too. You can easily change them to TOML in your own `archetypes` is you wish to.
For example:
diff --git a/exampleSite/content/post/getting-started.md b/exampleSite/content/post/getting-started.md
index 79e3937..d182c10 100644
--- a/exampleSite/content/post/getting-started.md
+++ b/exampleSite/content/post/getting-started.md
@@ -1,6 +1,6 @@
---
title: Getting started
-description: Getting started with personal_web
+description: Getting started with personal-web
date: "2019-05-03T09:37:55+02:00"
publishDate: "2019-05-03T09:37:55+02:00"
---
@@ -9,7 +9,7 @@ Here are some details to help you getting started with this theme.
<!--more-->
-We'll assume here that you have a good understanding of Hugo and its structure. If you have any doubt, check the [Hugo documentation](https://gohugo.io/documentation/ "Hugo documentation"); it is pretty good and the community quite active! (thanks so much by the way! :muscle:)
+We'll assume here that you have a good understanding of Hugo and its structure. If you have any doubt, check the [Hugo documentation](https://gohugo.io/documentation/ "Hugo documentation"); it is pretty good and the community quite active! Thank you so much by the way! :muscle:
The first thing to do when starting your own website is to **copy the content of exampleSite** in your own root folder. This way, you can have a sample of `config.toml` file and a first structure.
diff --git a/exampleSite/content/post/shortcodes.md b/exampleSite/content/post/shortcodes.md
index 75c5c1d..fe59696 100644
--- a/exampleSite/content/post/shortcodes.md
+++ b/exampleSite/content/post/shortcodes.md
@@ -10,7 +10,9 @@ Introduction of the shortcodes defined in the personal-web theme.
<!--more-->
## Add a figure
+```go-html-template
{{</* figure src="/post/images/sample_image.jpg" caption="Photo by Tim Mossholder on Unsplash" */>}}
+```
results in
@@ -20,7 +22,9 @@ results in
## Add a single Tweet
+```go-html-template
{{</* tweet-single 1120412132036706305 */>}}
+```
results in
{{< tweet-single 1120412132036706305 >}}