Commit Graph

218 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI dfd6e53df4 Change the path-to-public directory:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -10,4 +10,4 @@ jobs:
           name: "Run Hugo"
           command: HUGO_ENV=production hugo -v -s /root/project/
       - store_artifacts:
-          path: /tmp/artifacts
+          path: /root/project/public
```
2019-05-04 19:07:42 +08:00
Kazuhiro MUSASHI 9673dfe93e Use artifacts to see the results:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,3 +9,5 @@ jobs:
       - run:
           name: "Run Hugo"
           command: HUGO_ENV=production hugo -v -s /root/project/
+      - store_artifacts:
+          path: /tmp/artifacts
```
2019-05-04 19:06:21 +08:00
Kazuhiro MUSASHI a348722bea Delete `Test Website`:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,7 +9,3 @@ jobs:
       - run:
           name: "Run Hugo"
           command: HUGO_ENV=production hugo -v -s /root/project/
-      - run:
-          name: "Test Website"
-          command: htmlproofer /root/project/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
-
```
2019-05-04 19:01:44 +08:00
Kazuhiro MUSASHI 3273955767 Change the path-to-public-directory:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -11,5 +11,5 @@ jobs:
           command: HUGO_ENV=production hugo -v -s /root/project/
       - run:
           name: "Test Website"
-          command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
+          command: htmlproofer /root/project/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
2019-05-04 18:59:31 +08:00
Kazuhiro MUSASHI c52c1d60d8 Change the path-to-checkout directory:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -8,7 +8,7 @@ jobs:
       - checkout
       - run:
           name: "Run Hugo"
-          command: HUGO_ENV=production hugo -v -s src/
+          command: HUGO_ENV=production hugo -v -s /root/project/
       - run:
           name: "Test Website"
           command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
2019-05-04 18:57:02 +08:00
Kazuhiro MUSASHI 4307a8de8a Use `cibuilds/hugo:latest`:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,16 +2,14 @@ version: 2
 jobs:
   build:
     docker:
-      - image: debian:stretch
+      - image: cibuilds/hugo:latest

     steps:
       - checkout
-
       - run:
-          name: Greeting
-          command: echo Hello, world.
-
+          name: "Run Hugo"
+          command: HUGO_ENV=production hugo -v -s src/
       - run:
-          name: Print the Current Time
-          command: date
+          name: "Test Website"
+          command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
2019-05-04 18:49:31 +08:00
Kazuhiro MUSASHI 003a943a1d Add sample `config.yml`:
```
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,16 @@
+version: 2
+jobs:
+  build:
+    docker:
+      - image: debian:stretch
+
+    steps:
+      - checkout
+
+      - run:
+        name: Greeting
+        command: echo Hello, world.
+
+      - run:
+        name: Print the Current Time
+        command: date
```
2019-05-04 18:38:50 +08:00
Kazuhiro MUSASHI f2b27b4750 [WIP] Support for `Circle CI`.
This is to support `Circle CI`.
2019-05-04 18:24:03 +08:00
Kazuhiro MUSASHI 569e0cfc1a
Merge pull request #25 from kazu634/leaflet-mapbox-js-support
Add `004-display-raster-style-data-leaflet.md`.
2019-05-04 14:35:30 +07:00
Kazuhiro MUSASHI 86e9badb27 Add `004-display-raster-style-data-leaflet.md`. 2019-05-04 15:33:06 +08:00
Kazuhiro MUSASHI 713d0787b9
Merge pull request #24 from kazu634/leaflet-mapbox-js-support
Leaflet mapbox js support
2019-05-01 21:28:17 +07:00
Kazuhiro MUSASHI 0eaa663acb Modify the category name of `003-setup-dev-environment.md`:
```
--- a/content/labs/leaflet-js-mapbox-js/003-setup-dev-environment.md
+++ b/content/labs/leaflet-js-mapbox-js/003-setup-dev-environment.md
@@ -2,7 +2,7 @@
 title = "JavaScriptではじめるWebマップアプリケーション: Chapter2-2"
 date = 2019-05-01T21:07:08+07:00
 Description = "JavaScriptではじめるWebマップアプリケーションの内容を淡々と試してみます。"
-Categories = ["Leaflet.js"]
+Categories = ["Mapbox GL JS"]
 +++

 『[JavaScriptではじめるWebマップアプリケーション \(PDF版\)](https://booth.pm/ja/items/1314906)』の内容を淡々と試してみます。`Mapbox GL JS`で地図を表示してみます:
```
2019-05-01 22:24:34 +08:00
Kazuhiro MUSASHI f2da3f266f Add an article about development environment for Mapbox GL js. 2019-05-01 22:19:48 +08:00
Kazuhiro MUSASHI 96490c26d9 Add an article about development environment for Leaflet.js. 2019-05-01 22:18:38 +08:00
Kazuhiro MUSASHI f9bcf1af88 Rename the directory name from `leaflet-js` to `leaflet-mapbox-js`. 2019-05-01 19:09:13 +08:00
Kazuhiro MUSASHI ade41c13d3 [WIP] This is to study `Leaflet.js` & `Mapbox GL JS`.
This is to study `Leaflet.js` and `Mapbox GL JS`.
2019-05-01 19:04:17 +08:00
Kazuhiro MUSASHI d825b76cdd
Merge pull request #23 from kazu634/modify-date-string-of-sleeper-train-article
Modify the date string:
2019-05-01 15:31:59 +07:00
Kazuhiro MUSASHI 90eadb0342 Modify the date string:
```
--- a/content/travel/2019/2019-05-01-sleeper-train-in-thailand.md
+++ b/content/travel/2019/2019-05-01-sleeper-train-in-thailand.md
@@ -1,6 +1,6 @@
 +++
 title = "バンコクからチェンマイへの寝台列車の旅"
-date = 2019-05-01:16:49+08:00
+date = 2019-05-01T12:49:49+08:00
 Description = "バンコクからチェンマイへ寝台列車に乗って旅してきました"
 Tags = ["Bangkok", "Chiang Mai"]
 Categories = ["旅行"]
```
2019-05-01 16:30:41 +08:00
Kazuhiro MUSASHI bf5fce5ede
Merge pull request #22 from kazu634/add-artcile-on-sleeper-train-in-thailand
Modify the article location & date string
2019-05-01 15:22:01 +07:00
Kazuhiro MUSASHI ce38675b13 Modify the Date string:
```
--- a/content/travel/2019/2019-05-01-sleeper-train-in-thailand.md
+++ b/content/travel/2019/2019-05-01-sleeper-train-in-thailand.md
@@ -1,6 +1,6 @@
 +++
 title = "バンコクからチェンマイへの寝台列車の旅"
-date = 2018-04-20T19:03:49+08:00
+date = 2019-05-01:16:49+08:00
 Description = "バンコクからチェンマイへ寝台列車に乗って旅してきました"
 Tags = ["Bangkok", "Chiang Mai"]
 Categories = ["旅行"]
```
2019-05-01 16:20:29 +08:00
Kazuhiro MUSASHI 2bcaa6b4ec Modify the article location. 2019-05-01 16:19:43 +08:00
Kazuhiro MUSASHI 16ced6dc4d
Merge pull request #21 from kazu634/add-artcile-on-sleeper-train-in-thailand
Add artcile on sleeper train in thailand
2019-05-01 15:15:35 +07:00
Kazuhiro MUSASHI c4a433b180 Add the overview of the train trip from Bangkok to Chiang Mai 2019-05-01 15:12:45 +07:00
Kazuhiro MUSASHI 4c1b8a5680 Delete the unnecessary H1 2019-05-01 15:06:25 +07:00
Kazuhiro MUSASHI 356f3d96a2 Add the contents 2019-05-01 15:00:15 +07:00
Kazuhiro MUSASHI 90c8868072
Merge pull request #20 from kazu634/huen-muai-jai-in-chiang-mai
Huen Muai Jai in chiang mai
2019-04-21 21:28:00 +07:00
Kazuhiro MUSASHI fcdcbea13d Add map link to the article. 2019-04-21 22:26:08 +08:00
Kazuhiro MUSASHI 0840ddaaa1 Add images to the article. 2019-04-21 22:20:17 +08:00
Kazuhiro MUSASHI e067f8fb3e initial draft 2019-04-21 21:05:24 +07:00
Kazuhiro MUSASHI b3adc85aaa Create an article template:
```
--- /dev/null
+++ b/content/post/2019/04/21/2019-04-21-huen-muai-jai-in-chiang-mai.md
@@ -0,0 +1,11 @@
++++
+title = "2019 04 21 Huen Muai Jai in Chiang Mai"
+date = 2019-04-21T17:38:34+08:00
+Description = ""
+Tags = []
+Categories = []
+image=""
++++
+
+<div class="mermaid">
+</div>
```
2019-04-21 17:41:34 +08:00
Kazuhiro MUSASHI cd21b98d0b [WIP] Add article about Huen muai Jai in Chiang Mai.
This is to add an article about Huen Muai Jai in Chiang Mai.
2019-04-21 17:40:22 +08:00
Kazuhiro MUSASHI 2cabdca8e2
Merge pull request #19 from kazu634/Add-quote-article-on-Seikei-Izumo-no-Logistics
Add quote article on seikei izumo no logistics
2019-04-20 22:44:14 +07:00
Kazuhiro MUSASHI 71a7e0e3df Add link to Amazon. 2019-04-20 23:42:31 +08:00
Kazuhiro MUSASHI bf537e9cb8 Pointing to the HTTPs image file. 2019-04-20 23:42:06 +08:00
Kazuhiro MUSASHI 089c2cbf8f
Merge pull request #18 from kazu634/Add-quote-article-on-Seikei-Izumo-no-Logistics
Add amazon link.
2019-04-20 22:38:24 +07:00
Kazuhiro MUSASHI 5134f417fd Add amazon link. 2019-04-20 23:36:46 +08:00
Kazuhiro MUSASHI 7cba556f77 Add outline 2019-04-20 14:07:34 +07:00
Kazuhiro MUSASHI 5b0ecb2f8c Initial commit 2019-04-20 14:05:40 +07:00
Kazuhiro MUSASHI c30d40b72a
Merge pull request #17 from kazu634/Modify-lego-article
Modify lego article
2019-04-20 13:47:25 +07:00
Kazuhiro MUSASHI 2720aadfd6
Merge pull request #16 from kazu634/change-rake-task
Change rake task
2019-04-20 13:40:10 +07:00
Kazuhiro MUSASHI 5b797ab092 Delete `test.rake` file. 2019-04-20 14:38:39 +08:00
Kazuhiro MUSASHI 82dffcdc73 Create the new artcle markdown to be generated under content directory
```
--- a/tasks/new.rake
+++ b/tasks/new.rake
@@ -6,7 +6,7 @@ task :new do
   day = Time.now
   title = ARGV.last.downcase

-  postname =  "post/#{day.year}-#{day.strftime("%m")}-#{day.strftime("%d")}-#{title}.md"
+  postname = "#{day.year}-#{day.strftime("%m")}-#{day.strftime("%d")}-#{title}.md"

   # generate the post md file:
   sh "hugo new #{postname}"
```
2019-04-20 14:38:32 +08:00
Kazuhiro MUSASHI 4d0a0b1add Change the grep option/arguments to list up all the markdown files. 2019-04-20 14:36:03 +08:00
Kazuhiro MUSASHI 01900a8002 [WIP] Change the rake tasks, based on the current content structure
This is to change the rake tasks, based on the current content
structure, because I have changed a lot the content directory structure.
2019-04-20 14:18:14 +08:00
Kazuhiro MUSASHI faee7a2335 2nd draft 2019-04-20 13:03:48 +07:00
Kazuhiro MUSASHI 747469d4ad 1st draft 2019-04-17 07:30:14 +07:00
Kazuhiro MUSASHI 49b4abdda9 Modify Initial Commit 2019-04-17 06:56:05 +07:00
Kazuhiro MUSASHI 507ea600d9 Modify Initial Commit 2019-04-17 06:55:49 +07:00
Kazuhiro MUSASHI 875663544a Initial Commit 2019-04-17 06:54:22 +07:00
Kazuhiro MUSASHI fd5bf1053a Add more detailed information 2019-04-16 17:48:15 +07:00