From 7e8549d0e66395372f90be2492f237ddb3496a41 Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 31 Jan 2020 13:33:56 +0000 Subject: [PATCH] initial commit --- .gitattributes | 1 + .gitignore | 3 +++ .gitmodules | 3 +++ README.md | 14 +++++++++++++ archetypes/default.md | 6 ++++++ build.sh | 4 ++++ config.toml | 45 +++++++++++++++++++++++++++++++++++++++++ content/about.md | 8 ++++++++ content/posts/flowmm.md | 11 ++++++++++ serve.sh | 3 +++ themes/hugo-coder | 1 + 11 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100755 build.sh create mode 100644 config.toml create mode 100644 content/about.md create mode 100644 content/posts/flowmm.md create mode 100755 serve.sh create mode 160000 themes/hugo-coder diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..47175be --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +static/img/* filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac73917 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +blog/ +rsources/ +resources/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ce3490a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-coder"] + path = themes/hugo-coder + url = https://github.com/luizdepra/hugo-coder.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..4dd90ac --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ + + +Serve development server with: + +```sh +hugo serve -D --bind=0.0.0.0 --baseURL=http://192.168.0.5:1313 +``` + +Build static files with: + +```sh +hugo -D +``` + diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..c9b2f22 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +rm -R ./blog +hugo -D diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..1e4c1d5 --- /dev/null +++ b/config.toml @@ -0,0 +1,45 @@ +baseURL = "https://rayelliott.dev/blog/" +languageCode = "en-us" + +title = "Blog" +theme = "hugo-coder" + +publishDir = "blog" + + + + +# hugo-coder config + +[params] + author = "Ray Elliott" + info = "Hello World!" + + avatarurl = "/images/avatar.jpg" + favicon_32 = "/img/favicon-32x32.png" + favicon_16 = "/img/favicon-16x16.png" + + # footercontent = "Yo mah footah" + hidecredits = true + +[[menu.main]] + name = "About" + weight = 3 + url = "/about/" +[[menu.main]] + name = "Portfolio" + weight = 5 + url = "/categories/portfolio/" +[[menu.main]] + name = "Posts" + weight = 10 + url ="/posts/" +[[menu.main]] + name = "Categories" + weight = 20 + url = "/categories/" +[[menu.main]] + name = "Tags" + weight = 30 + url = "/tags/" + diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..b90ac19 --- /dev/null +++ b/content/about.md @@ -0,0 +1,8 @@ +--- +title: "About Me" +date: 2020-01-31T12:54:00Z +draft: true +--- + +Just some stuff about me ... + diff --git a/content/posts/flowmm.md b/content/posts/flowmm.md new file mode 100644 index 0000000..055203e --- /dev/null +++ b/content/posts/flowmm.md @@ -0,0 +1,11 @@ +--- +title: "Flow Model Management" +date: 2020-01-31T12:27:18Z +categories: ["Portfolio"] +tags: ["Vue", "Nuxt"] +draft: true +--- + +Flow Model Management are a ficticious modelling agency, created for the sole +purpose of ... + diff --git a/serve.sh b/serve.sh new file mode 100755 index 0000000..13bd284 --- /dev/null +++ b/serve.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +hugo serve -D --bind=0.0.0.0 --baseURL=http://192.168.0.5:1313 diff --git a/themes/hugo-coder b/themes/hugo-coder new file mode 160000 index 0000000..be94b5f --- /dev/null +++ b/themes/hugo-coder @@ -0,0 +1 @@ +Subproject commit be94b5fd052b910d0b3704bea22d26214136f060