Commit Graph

650 Commits

Author SHA1 Message Date
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
Kazuhiro MUSASHI 2d41a15bc6 Add more detailed work flow 2019-04-16 17:43:17 +07:00
Kazuhiro MUSASHI 9a96adf136 Add explanations 2019-04-16 17:29:56 +07:00
Kazuhiro MUSASHI e669b8f8de Add work flow of using Route 53 2019-04-16 17:26:38 +07:00
Kazuhiro MUSASHI 24803ebe5d Add link to "Route 53" 2019-04-16 17:21:21 +07:00
Kazuhiro MUSASHI 934dab3a0a Change the explanation position 2019-04-16 17:04:52 +07:00
Kazuhiro MUSASHI 93fbd4785b Add some explanation to the wrap-up 2019-04-16 17:03:27 +07:00
Kazuhiro MUSASHI ffb7d05e71 Modify the terminal output 2019-04-16 16:56:53 +07:00
Kazuhiro MUSASHI 2aa76f940a Add link to "Route 53" 2019-04-16 16:54:04 +07:00
Kazuhiro MUSASHI a0b15c86a2 Add link to "Let's Encrypt". 2019-04-16 16:50:08 +07:00
Kazuhiro MUSASHI 8667d02499 Add link to "Lego" 2019-04-16 16:47:05 +07:00
Kazuhiro MUSASHI 31e097494b
Merge pull request #15 from kazu634/change-post-list-page
List up the post category article only within post list page.
2019-04-16 15:13:18 +07:00
Kazuhiro MUSASHI 80eb317187 List up the post category article only within post list page.
This is to change the post list page behaviour to list up the articles
belonging to the post category,  not all the posts regardless of the
categories.
2019-04-16 16:10:58 +08:00
Kazuhiro MUSASHI e475d05e28 [WIP] List up the post category article only within post list page.
This is to change the post list page behaviour to list up the articles
belonging to the post category,  not all the posts regardless of the
categories.
2019-04-16 15:09:15 +08:00
Kazuhiro MUSASHI 96eeecfca0
Merge pull request #14 from kazu634/add-lego-article
Add lego article
2019-04-16 14:08:13 +07:00
Kazuhiro MUSASHI 3253d1c286 Add an article about `Lego`. 2019-04-16 15:05:35 +08:00
Kazuhiro MUSASHI fd0cc3809e [WIP] Add an article about Lego 2019-04-15 00:52:33 +08:00
Kazuhiro MUSASHI 7e9c60da19
Merge pull request #13 from kazu634/improve-labs-section-list-page-pagination
Improve labs section list page pagination
2019-04-14 23:03:42 +07:00
Kazuhiro MUSASHI da156b535f Introduce the pagination to the Labs's section list page:
```
--- a/layouts/labs/list.html
+++ b/layouts/labs/list.html
@@ -6,14 +6,34 @@
     <div class="article-header light-gray"><h1>{{ .Title }}</h1></div>
     {{.Content}}
     <br>
-    {{ range .Data.Pages }}
+    {{ $paginator := .Paginate (where .Data.Pages  "Type" "labs") }}
+    {{ range $paginator.Pages }}
     <div class="summary">
       <h2><a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a></h2>
       <div class="meta">
-        {{ .Date.Format "Jan 2, 2006" }}: {{.Description}}
+        {{ .Date.Format "Jan 2, 2006" }} &nbsp;
+        {{ range .Params.categories }}
+          #<a href="/categories/{{ . | urlize }}">{{ . }}</a>&nbsp;
+        {{ end }}
+        {{ range .Params.tags }}
+          #<a href="/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
+        {{ end }}: {{ .Description }}
       </div>
     </div>
     {{ end }}
   </main>

+<!-- Paginator Section Layout
+–––––––––––––––––––––––––––––––––––––––––––––––––– -->
+<nav>
+  {{ $paginator := .Paginate (where .Data.Pages "Type" "labs") }}
+  {{ if .Paginator.HasPrev }}
+  <a href="{{ .Paginator.Prev.URL }}">Prev</a>
+  {{ end }}
+  <span class="">Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</span>
+  {{ if .Paginator.HasNext }}
+  <a href="{{ .Paginator.Next.URL }}">Next</a>
+  {{ end }}
+</nav>
+
 {{ partial "footer.html" . }}
```
2019-04-15 00:02:06 +08:00