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

github.com/rafed/ramium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafed Muhammad Yasir <rafed123@yahoo.com>2020-05-01 15:22:49 +0300
committerRafed Muhammad Yasir <rafed123@yahoo.com>2020-05-01 15:22:49 +0300
commit65448e7f5b3cc916a6b4f774ac64ad182a554275 (patch)
tree35b42dffd1e14c094883c2f523567cf5862323c7
parent8bb315f6f404fb505341b244865e3ec4820acf33 (diff)
Updated README and archetypes
-rw-r--r--README.md5
-rw-r--r--archetypes/posts/default.md15
2 files changed, 19 insertions, 1 deletions
diff --git a/README.md b/README.md
index e3df4a3..7b73535 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,10 @@ If you want to know more information, see [Hugo doc](https://gohugo.io/themes/in
## Usage
-When you manually create files by following [quick start (step4)](https://gohugo.io/getting-started/quick-start/#step-4-add-some-content), you should command `hugo new posts/<filename>.md` instead of `hugo new post/<filename>.md`.
+1. Make sure you follow the template structure of the examplesite (including the config.toml)
+2. When you manually create files by following [quick start (step4)](https://gohugo.io/getting-started/quick-start/#step-4-add-some-content), you should command `hugo new posts/<filename>.md` instead of `hugo new post/<filename>.md`.
+3. For the admin panel, sections list and author page to work the 'addons' directory must not be deleted.
+4. Detailed instructions are coming soon [here](https://themes.gohugo.io/theme/ramium/getting-started-with-ramium/).
#### `config.toml` example
diff --git a/archetypes/posts/default.md b/archetypes/posts/default.md
new file mode 100644
index 0000000..4535518
--- /dev/null
+++ b/archetypes/posts/default.md
@@ -0,0 +1,15 @@
+---
+title: {{ replace .Name "-" " " | title }}
+date: {{ now.Format "2006-01-2" }}
+tags: [tag1, tag2]
+image: "/image/blog-pic.jpg"
+---
+
+Article goes here.
+
+For other options, put these in the front matter:
+ description: "A description" other than the blog intro
+ draft: true to not publish article yet
+ showDate: true/false to enable/disable showing dates
+ math: true to enable showing equations (katex)
+ chordsheet: true to add chordsheet styelsheet