diff options
author | Hidenori Matsuki <dev@mazgi.com> | 2020-11-01 10:23:45 +0300 |
---|---|---|
committer | Hidenori Matsuki <dev@mazgi.com> | 2020-11-01 10:23:45 +0300 |
commit | 8293c1c2a05b2c74080c12b509792687e54a36fd (patch) | |
tree | c5b2a002de7aecba3e6326a00f7ba14609d35bb4 | |
parent | 68c9d326832d94583720dd32b847e3eb52419f1f (diff) |
improve environment
-rw-r--r-- | exampleSite/config.toml | 8 | ||||
-rw-r--r-- | exampleSite/content/posts/2006.01/second-page.en.md | 16 | ||||
-rw-r--r-- | exampleSite/content/posts/2006.01/second-page.ja.md | 18 | ||||
-rw-r--r-- | exampleSite/docker-compose.yml | 7 | ||||
-rw-r--r-- | theme.toml | 4 |
5 files changed, 29 insertions, 24 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 528bfc0..cb3a377 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,6 +1,6 @@ baseURL = "https://example.org/" languageCode = "en-us" -title = "A Hugo theme" +title = "A Hugo Theme" theme = "techlog-simple" defaultContentLanguage = "en" # defaultContentLanguage = "ja" @@ -16,15 +16,15 @@ enableRobotsTXT = true description = "A simple Hugo theme for tech blogs :)" [params.sns] +# facebook = "" github = "mazgi" -twitter = "mazgi" instagram = "mazgi" -# facebook = "" +twitter = "mazgi" [taxonomies] +author = "authors" category = "categories" tag = "tags" -author = "authors" [languages] [languages.en] diff --git a/exampleSite/content/posts/2006.01/second-page.en.md b/exampleSite/content/posts/2006.01/second-page.en.md index b026610..32efb78 100644 --- a/exampleSite/content/posts/2006.01/second-page.en.md +++ b/exampleSite/content/posts/2006.01/second-page.en.md @@ -1,8 +1,8 @@ --- title: "Second Page" date: 2018-10-05T05:12:12Z -tags: ['hugo', 'example'] -authors: ['John', 'Smith'] +tags: ["example"] +authors: ["John", "Smith"] --- ## My second post @@ -11,9 +11,9 @@ authors: ['John', 'Smith'] The pretty cat photo from [here](https://www.pexels.com/photo/grey-and-white-short-fur-cat-104827/). -col1|col2|col3 ----|---|--- -val1-1|val2-1|val3-1 -val1-2|val2-2 long text|val3-2 -val1-3|val2-3|val3-3 -val1-4|val2-4|val3-4 +| col1 | col2 | col3 | +| ------ | ---------------- | ------ | +| val1-1 | val2-1 | val3-1 | +| val1-2 | val2-2 long text | val3-2 | +| val1-3 | val2-3 | val3-3 | +| val1-4 | val2-4 | val3-4 | diff --git a/exampleSite/content/posts/2006.01/second-page.ja.md b/exampleSite/content/posts/2006.01/second-page.ja.md index 2b6e149..73d2b2f 100644 --- a/exampleSite/content/posts/2006.01/second-page.ja.md +++ b/exampleSite/content/posts/2006.01/second-page.ja.md @@ -1,19 +1,19 @@ --- title: "2番目のページ" date: 2018-10-05T05:12:12Z -tags: ['hugo', 'example'] -authors: ['John', 'Smith'] +tags: ["example"] +authors: ["John", "Smith"] --- -## 私の2番目のポスト +## 私の 2 番目のポスト {{< figure src="cat.jpeg" >}} かわいい猫の写真は[こちら](https://www.pexels.com/photo/grey-and-white-short-fur-cat-104827/)からお借りしました。 -col1|col2|col3 ----|---|--- -val1-1|val2-1|val3-1 -val1-2|val2-2 長いテキスト|val3-2 -val1-3|val2-3|val3-3 -val1-4|val2-4|val3-4 +| col1 | col2 | col3 | +| ------ | ------------------- | ------ | +| val1-1 | val2-1 | val3-1 | +| val1-2 | val2-2 長いテキスト | val3-2 | +| val1-3 | val2-3 | val3-3 | +| val1-4 | val2-4 | val3-4 | diff --git a/exampleSite/docker-compose.yml b/exampleSite/docker-compose.yml index e5e71a9..f1b3cec 100644 --- a/exampleSite/docker-compose.yml +++ b/exampleSite/docker-compose.yml @@ -7,7 +7,12 @@ services: UID: ${UID:-0} GID: ${GID:-0} working_dir: /techlog-simple/exampleSite - command: hugo server --bind 0.0.0.0 --buildDrafts --themesDir="../.." + command: > + hugo server + --baseURL http://$BIND_IP_ADDR:1313 + --bind 0.0.0.0 + --buildDrafts + --themesDir="../.." volumes: - ../:/techlog-simple ports: @@ -8,8 +8,8 @@ description = "A simple Hugo theme for tech blog." homepage = "https://github.com/mazgi/hugo-theme-techlog-simple" tags = [] features = [] -min_version = "0.57.0" +min_version = "0.76.0" [author] name = "Hidenori Matsuki" - homepage = "https://mazgi.com/" + homepage = "https://mazgi.github.io/" |