aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-17 21:32:34 -0400
committertdro <tdro@noreply.example.com>2022-06-17 21:32:34 -0400
commit699cc6f5783f0308e3d53aecece22499b58bd047 (patch)
treefcc02f3f9edd037c4300616fec1dfc6e05069af1
parent44cc591c6e14286328128879504fb996d5ad3270 (diff)
downloadcanory-699cc6f5783f0308e3d53aecece22499b58bd047.tar.gz
canory-699cc6f5783f0308e3d53aecece22499b58bd047.tar.bz2
canory-699cc6f5783f0308e3d53aecece22499b58bd047.zip
content/default/message: Add note on author list
-rw-r--r--Makefile13
-rw-r--r--content/default/messages/create.md32
-rw-r--r--content/default/messages/quickstart.md10
-rw-r--r--themes/default/layouts/_default/home.sources.html2
4 files changed, 35 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 9507479..5c7ca1d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,19 +21,6 @@ hugo:
server:
php -S 127.0.0.1:9294 -t public
-author:
-ifndef user
- @printf 'Error: No author user name given!\nUsage: make author user=default\n'
-else
- @cp -rT content/default content/$(user) || printf "Error: Author user '$(user)' data may already exist.\n"
- @cp -rT data/authors/default.yaml data/authors/$(user).yaml || printf "Error: Author user '$(user)' configuration may already exist.\n"
- _user=$(user) && \
- _name=$${_user^} && \
- grep -rl "default" content/$(user) | xargs sed --in-place 's/default/$(user)/g' && \
- grep -rl "default" data/authors/$(user).yaml | xargs sed --in-place 's/default/$(user)/g' && \
- grep -rl "Default" data/authors/$(user).yaml | xargs sed --in-place "s/Default/$$_name/g"
-endif
-
test:
validatornu \
public/index.html \
diff --git a/content/default/messages/create.md b/content/default/messages/create.md
new file mode 100644
index 0000000..75654fe
--- /dev/null
+++ b/content/default/messages/create.md
@@ -0,0 +1,32 @@
++++
+date = "2022-03-13T04:24:37+00:00"
+lastmod = "2022-03-13T04:24:37+00:00"
+tags = [ "docs", "hugo", "authors" ]
++++
+
+"Bootstrap" authors by adding a name to the author list in the `toml/json/yaml`
+configuration file. We tried to create a somebody but all we could muster was a
+[nobody](/nobody).
+
+```yaml
+author:
+ list:
+ - canory
+ - default
+ - nobody
+```
+
+To complete the process, read and follow [nobody's profile](/nobody), then
+create nobody's home in the content directory.
+
+```
+content
+|__ nobody
+    |__ media
+    |   |__ profile
+    |   |__ header.jpg
+    |   |__ picture.png
+ |
+    |__ messages
+    |__ new.md
+```
diff --git a/content/default/messages/quickstart.md b/content/default/messages/quickstart.md
index 38eea2e..2661cf1 100644
--- a/content/default/messages/quickstart.md
+++ b/content/default/messages/quickstart.md
@@ -11,7 +11,7 @@ explaining how to get started.
GIT CLONE. EXECUTE HUGO TWICE. HUGO VERSION >= 0.94.2.
```shell
-git clone --branch 0.7.28 https://www.thedroneely.com/git/thedroneely/canory
+git clone --branch 0.8.13 https://www.thedroneely.com/git/thedroneely/canory
cd canory
hugo && hugo
```
@@ -26,10 +26,4 @@ php -S 127.0.0.1:8126
ruby -run -e httpd . -p 8127
```
-MAKE USER. STUDY CONTENT AND DATA FOLDER.
-
-```shell
-make author user=robot
-```
-
-That concludes our community announcement.
+That concludes our automated community announcement.
diff --git a/themes/default/layouts/_default/home.sources.html b/themes/default/layouts/_default/home.sources.html
index 6bf4b77..424180a 100644
--- a/themes/default/layouts/_default/home.sources.html
+++ b/themes/default/layouts/_default/home.sources.html
@@ -93,7 +93,7 @@
<footer>
<p>
- Canory Version: 0.7.28
+ Canory Version: 0.8.13
&middot; Dictionary Access by Paul Lutus: <a href="https://arachnoid.com/javascript/dictionary_access.js">GPLv2+ License</a>
&middot; Feather Icons by Cole Bemis: <a href="https://github.com/feathericons/feather/blob/8b5d6802fa8fd1eb3924b465ff718d2fa8d61efe/LICENSE">MIT License</a>
&middot; Tabler Icons by Paweł Kuna: <a href="https://github.com/tabler/tabler-icons/blob/60f39297d0f785f2e8635faca6857b2260b2d164/LICENSE">MIT License</a>