From cfcf7e5f0ad7827efb67a98cef89a8f368e594d7 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 14 Apr 2019 16:07:07 +0800 Subject: [PATCH 2/5] Add explanation for the travel section. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` --- /dev/null +++ b/content/travel/_index.md @@ -0,0 +1,7 @@ +--- +title: Travel Page +date: 2019-04-14 +publishdate: 2019-04-14 +--- + +旅行関係の記事をここに集めてみました。 ``` --- content/travel/_index.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 content/travel/_index.md diff --git a/content/travel/_index.md b/content/travel/_index.md new file mode 100644 index 0000000..164c927 --- /dev/null +++ b/content/travel/_index.md @@ -0,0 +1,7 @@ +--- +title: Travel Page +date: 2019-04-14 +publishdate: 2019-04-14 +--- + +旅行関係の記事をここに集めてみました。 From 0982980ea5910605526bbbd7491ab4eb0fb455f8 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 14 Apr 2019 16:08:46 +0800 Subject: [PATCH 3/5] Display the travel section explanation. --- layouts/travel/list.html | 41 ++++++++++++++++++++++++++++++++++++++ layouts/travel/single.html | 32 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 layouts/travel/list.html create mode 100644 layouts/travel/single.html diff --git a/layouts/travel/list.html b/layouts/travel/list.html new file mode 100644 index 0000000..2068ec9 --- /dev/null +++ b/layouts/travel/list.html @@ -0,0 +1,41 @@ +{{ partial "header.html" . }} + + +
+

{{ .Title }}

+ {{.Content}} +
+ {{ $paginator := .Paginate (where .Data.Pages "Type" "travel") }} + {{ range $paginator.Pages }} +
+

{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}

+
+ {{ .Date.Format "Jan 2, 2006" }}   + {{ range .Params.categories }} + #{{ . }}  + {{ end }} + {{ range .Params.tags }} + #{{ . }}  + {{ end }}: {{ .Description }} +
+
+ {{ end }} +
+ + + + +{{ partial "footer.html" . }} + + diff --git a/layouts/travel/single.html b/layouts/travel/single.html new file mode 100644 index 0000000..d22fc7d --- /dev/null +++ b/layouts/travel/single.html @@ -0,0 +1,32 @@ +{{ partial "header-content.html" . }} + + +
+
+

{{ .Title }}

+
+ {{ .Date.Format "Jan 2, 2006" }}   + {{ range .Params.categories }} + #{{ . }}  + {{ end }} + {{ range .Params.tags }} + #{{ . }}  + {{ end }}: {{ .Description }} +
+
+
+ {{ .Content }} + +
+ + + +{{ partial "footer.html" . }} From 306627f7322ed95619d42fcf676b4373bc407ec1 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 14 Apr 2019 16:09:27 +0800 Subject: [PATCH 4/5] Add the travel section to the section definition. ``` --- a/layouts/partials/sections-definition.html +++ b/layouts/partials/sections-definition.html @@ -1,2 +1,3 @@
  • Labs
  • Quotes
  • +
  • Travel
  • ``` --- layouts/partials/sections-definition.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/sections-definition.html b/layouts/partials/sections-definition.html index c0fe1d6..22f27d6 100644 --- a/layouts/partials/sections-definition.html +++ b/layouts/partials/sections-definition.html @@ -1,2 +1,3 @@
  • Labs
  • Quotes
  • +
  • Travel
  • From b26a764425135c33455d3d4a24ce1eaf8f04cc5b Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 14 Apr 2019 16:42:18 +0800 Subject: [PATCH 5/5] Move some articles under the travel section. --- content/{post/2009/05/06 => travel/2009}/2009-05-06-00001149.md | 0 content/{post/2010/05/15 => travel/2010}/2010-05-15-00001362.md | 0 content/{post/2010/06/13 => travel/2010}/2010-06-13-00001370.md | 0 content/{post/2011/03/06 => travel/2011}/2011-03-06-00001459.md | 0 content/{post/2011/03/10 => travel/2011}/2011-03-10-00001460.md | 0 content/{post/2011/03/22 => travel/2011}/2011-03-22-00001462.md | 0 content/{post/2011/03/27 => travel/2011}/2011-03-27-00001463.md | 0 content/{post/2011/04/18 => travel/2011}/2011-04-18-00001473.md | 0 content/{post/2011/11/23 => travel/2011}/2011-11-23-00001536.md | 0 .../2013/02/06 => travel/2013}/2013-02-06-chiang_mai_1stday.md | 0 .../2013/02/19 => travel/2013}/2013-02-19-chiang_mai_2ndday.md | 0 .../2013/03/02 => travel/2013}/2013-03-02-chiang_mai_3rd_day.md | 0 .../2013/08/12 => travel/2013}/2013-08-12-trip_to_yamagata.md | 0 content/{post/2014/09/21 => travel/2014}/2014-09-21-00001593.md | 0 ...-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md | 0 .../04 => travel/2014}/2014-11-04-gyouza-at-utunomiya-minmin.md | 0 .../22 => travel/2015}/2015-02-22-collecting-ultraman-stamps.md | 0 .../2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md | 0 .../06/01 => travel/2015}/2015-06-01-visiting-prambanan-temple.md | 0 .../06/03 => travel/2015}/2015-06-03-visiting-borobudur-temple.md | 0 .../12/28 => travel/2015}/2015-12-28-visiting-luang-prabang.md | 0 .../2016/01/12 => travel/2016}/2016-01-12-chianmai-travel.md | 0 .../2016}/2016-02-06-bus-trip-from-singapore-to-malacca.md | 0 .../2016/02/09 => travel/2016}/2016-02-09-stay-in-malacca.md | 0 content/{post/2016/09/13 => travel/2016}/2016-09-13-trip2bali.md | 0 .../26 => travel/2017}/2017-11-26-singapore-sightseeing-2017.md | 0 .../2017/12/25 => travel/2017}/2017-12-25-train-trip-to-kl.md | 0 .../{post/2017/12/26 => travel/2017}/2017-12-26-batu-caves-kl.md | 0 .../2018}/2018-04-08-visiting-khaosan-roads-in-bangkok.md | 0 29 files changed, 0 insertions(+), 0 deletions(-) rename content/{post/2009/05/06 => travel/2009}/2009-05-06-00001149.md (100%) rename content/{post/2010/05/15 => travel/2010}/2010-05-15-00001362.md (100%) rename content/{post/2010/06/13 => travel/2010}/2010-06-13-00001370.md (100%) rename content/{post/2011/03/06 => travel/2011}/2011-03-06-00001459.md (100%) rename content/{post/2011/03/10 => travel/2011}/2011-03-10-00001460.md (100%) rename content/{post/2011/03/22 => travel/2011}/2011-03-22-00001462.md (100%) rename content/{post/2011/03/27 => travel/2011}/2011-03-27-00001463.md (100%) rename content/{post/2011/04/18 => travel/2011}/2011-04-18-00001473.md (100%) rename content/{post/2011/11/23 => travel/2011}/2011-11-23-00001536.md (100%) rename content/{post/2013/02/06 => travel/2013}/2013-02-06-chiang_mai_1stday.md (100%) rename content/{post/2013/02/19 => travel/2013}/2013-02-19-chiang_mai_2ndday.md (100%) rename content/{post/2013/03/02 => travel/2013}/2013-03-02-chiang_mai_3rd_day.md (100%) rename content/{post/2013/08/12 => travel/2013}/2013-08-12-trip_to_yamagata.md (100%) rename content/{post/2014/09/21 => travel/2014}/2014-09-21-00001593.md (100%) rename content/{post/2014/11/03 => travel/2014}/2014-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md (100%) rename content/{post/2014/11/04 => travel/2014}/2014-11-04-gyouza-at-utunomiya-minmin.md (100%) rename content/{post/2015/02/22 => travel/2015}/2015-02-22-collecting-ultraman-stamps.md (100%) rename content/{post/2015/03/08 => travel/2015}/2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md (100%) rename content/{post/2015/06/01 => travel/2015}/2015-06-01-visiting-prambanan-temple.md (100%) rename content/{post/2015/06/03 => travel/2015}/2015-06-03-visiting-borobudur-temple.md (100%) rename content/{post/2015/12/28 => travel/2015}/2015-12-28-visiting-luang-prabang.md (100%) rename content/{post/2016/01/12 => travel/2016}/2016-01-12-chianmai-travel.md (100%) rename content/{post/2016/02/06 => travel/2016}/2016-02-06-bus-trip-from-singapore-to-malacca.md (100%) rename content/{post/2016/02/09 => travel/2016}/2016-02-09-stay-in-malacca.md (100%) rename content/{post/2016/09/13 => travel/2016}/2016-09-13-trip2bali.md (100%) rename content/{post/2017/11/26 => travel/2017}/2017-11-26-singapore-sightseeing-2017.md (100%) rename content/{post/2017/12/25 => travel/2017}/2017-12-25-train-trip-to-kl.md (100%) rename content/{post/2017/12/26 => travel/2017}/2017-12-26-batu-caves-kl.md (100%) rename content/{post/2018/04/08 => travel/2018}/2018-04-08-visiting-khaosan-roads-in-bangkok.md (100%) diff --git a/content/post/2009/05/06/2009-05-06-00001149.md b/content/travel/2009/2009-05-06-00001149.md similarity index 100% rename from content/post/2009/05/06/2009-05-06-00001149.md rename to content/travel/2009/2009-05-06-00001149.md diff --git a/content/post/2010/05/15/2010-05-15-00001362.md b/content/travel/2010/2010-05-15-00001362.md similarity index 100% rename from content/post/2010/05/15/2010-05-15-00001362.md rename to content/travel/2010/2010-05-15-00001362.md diff --git a/content/post/2010/06/13/2010-06-13-00001370.md b/content/travel/2010/2010-06-13-00001370.md similarity index 100% rename from content/post/2010/06/13/2010-06-13-00001370.md rename to content/travel/2010/2010-06-13-00001370.md diff --git a/content/post/2011/03/06/2011-03-06-00001459.md b/content/travel/2011/2011-03-06-00001459.md similarity index 100% rename from content/post/2011/03/06/2011-03-06-00001459.md rename to content/travel/2011/2011-03-06-00001459.md diff --git a/content/post/2011/03/10/2011-03-10-00001460.md b/content/travel/2011/2011-03-10-00001460.md similarity index 100% rename from content/post/2011/03/10/2011-03-10-00001460.md rename to content/travel/2011/2011-03-10-00001460.md diff --git a/content/post/2011/03/22/2011-03-22-00001462.md b/content/travel/2011/2011-03-22-00001462.md similarity index 100% rename from content/post/2011/03/22/2011-03-22-00001462.md rename to content/travel/2011/2011-03-22-00001462.md diff --git a/content/post/2011/03/27/2011-03-27-00001463.md b/content/travel/2011/2011-03-27-00001463.md similarity index 100% rename from content/post/2011/03/27/2011-03-27-00001463.md rename to content/travel/2011/2011-03-27-00001463.md diff --git a/content/post/2011/04/18/2011-04-18-00001473.md b/content/travel/2011/2011-04-18-00001473.md similarity index 100% rename from content/post/2011/04/18/2011-04-18-00001473.md rename to content/travel/2011/2011-04-18-00001473.md diff --git a/content/post/2011/11/23/2011-11-23-00001536.md b/content/travel/2011/2011-11-23-00001536.md similarity index 100% rename from content/post/2011/11/23/2011-11-23-00001536.md rename to content/travel/2011/2011-11-23-00001536.md diff --git a/content/post/2013/02/06/2013-02-06-chiang_mai_1stday.md b/content/travel/2013/2013-02-06-chiang_mai_1stday.md similarity index 100% rename from content/post/2013/02/06/2013-02-06-chiang_mai_1stday.md rename to content/travel/2013/2013-02-06-chiang_mai_1stday.md diff --git a/content/post/2013/02/19/2013-02-19-chiang_mai_2ndday.md b/content/travel/2013/2013-02-19-chiang_mai_2ndday.md similarity index 100% rename from content/post/2013/02/19/2013-02-19-chiang_mai_2ndday.md rename to content/travel/2013/2013-02-19-chiang_mai_2ndday.md diff --git a/content/post/2013/03/02/2013-03-02-chiang_mai_3rd_day.md b/content/travel/2013/2013-03-02-chiang_mai_3rd_day.md similarity index 100% rename from content/post/2013/03/02/2013-03-02-chiang_mai_3rd_day.md rename to content/travel/2013/2013-03-02-chiang_mai_3rd_day.md diff --git a/content/post/2013/08/12/2013-08-12-trip_to_yamagata.md b/content/travel/2013/2013-08-12-trip_to_yamagata.md similarity index 100% rename from content/post/2013/08/12/2013-08-12-trip_to_yamagata.md rename to content/travel/2013/2013-08-12-trip_to_yamagata.md diff --git a/content/post/2014/09/21/2014-09-21-00001593.md b/content/travel/2014/2014-09-21-00001593.md similarity index 100% rename from content/post/2014/09/21/2014-09-21-00001593.md rename to content/travel/2014/2014-09-21-00001593.md diff --git a/content/post/2014/11/03/2014-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md b/content/travel/2014/2014-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md similarity index 100% rename from content/post/2014/11/03/2014-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md rename to content/travel/2014/2014-11-03-visiting-nikko-toshogu-shrine-and-surrounding-sights.md diff --git a/content/post/2014/11/04/2014-11-04-gyouza-at-utunomiya-minmin.md b/content/travel/2014/2014-11-04-gyouza-at-utunomiya-minmin.md similarity index 100% rename from content/post/2014/11/04/2014-11-04-gyouza-at-utunomiya-minmin.md rename to content/travel/2014/2014-11-04-gyouza-at-utunomiya-minmin.md diff --git a/content/post/2015/02/22/2015-02-22-collecting-ultraman-stamps.md b/content/travel/2015/2015-02-22-collecting-ultraman-stamps.md similarity index 100% rename from content/post/2015/02/22/2015-02-22-collecting-ultraman-stamps.md rename to content/travel/2015/2015-02-22-collecting-ultraman-stamps.md diff --git a/content/post/2015/03/08/2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md b/content/travel/2015/2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md similarity index 100% rename from content/post/2015/03/08/2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md rename to content/travel/2015/2015-03-08-visiting-singapore-for-the-1st-time-in-my-life.md diff --git a/content/post/2015/06/01/2015-06-01-visiting-prambanan-temple.md b/content/travel/2015/2015-06-01-visiting-prambanan-temple.md similarity index 100% rename from content/post/2015/06/01/2015-06-01-visiting-prambanan-temple.md rename to content/travel/2015/2015-06-01-visiting-prambanan-temple.md diff --git a/content/post/2015/06/03/2015-06-03-visiting-borobudur-temple.md b/content/travel/2015/2015-06-03-visiting-borobudur-temple.md similarity index 100% rename from content/post/2015/06/03/2015-06-03-visiting-borobudur-temple.md rename to content/travel/2015/2015-06-03-visiting-borobudur-temple.md diff --git a/content/post/2015/12/28/2015-12-28-visiting-luang-prabang.md b/content/travel/2015/2015-12-28-visiting-luang-prabang.md similarity index 100% rename from content/post/2015/12/28/2015-12-28-visiting-luang-prabang.md rename to content/travel/2015/2015-12-28-visiting-luang-prabang.md diff --git a/content/post/2016/01/12/2016-01-12-chianmai-travel.md b/content/travel/2016/2016-01-12-chianmai-travel.md similarity index 100% rename from content/post/2016/01/12/2016-01-12-chianmai-travel.md rename to content/travel/2016/2016-01-12-chianmai-travel.md diff --git a/content/post/2016/02/06/2016-02-06-bus-trip-from-singapore-to-malacca.md b/content/travel/2016/2016-02-06-bus-trip-from-singapore-to-malacca.md similarity index 100% rename from content/post/2016/02/06/2016-02-06-bus-trip-from-singapore-to-malacca.md rename to content/travel/2016/2016-02-06-bus-trip-from-singapore-to-malacca.md diff --git a/content/post/2016/02/09/2016-02-09-stay-in-malacca.md b/content/travel/2016/2016-02-09-stay-in-malacca.md similarity index 100% rename from content/post/2016/02/09/2016-02-09-stay-in-malacca.md rename to content/travel/2016/2016-02-09-stay-in-malacca.md diff --git a/content/post/2016/09/13/2016-09-13-trip2bali.md b/content/travel/2016/2016-09-13-trip2bali.md similarity index 100% rename from content/post/2016/09/13/2016-09-13-trip2bali.md rename to content/travel/2016/2016-09-13-trip2bali.md diff --git a/content/post/2017/11/26/2017-11-26-singapore-sightseeing-2017.md b/content/travel/2017/2017-11-26-singapore-sightseeing-2017.md similarity index 100% rename from content/post/2017/11/26/2017-11-26-singapore-sightseeing-2017.md rename to content/travel/2017/2017-11-26-singapore-sightseeing-2017.md diff --git a/content/post/2017/12/25/2017-12-25-train-trip-to-kl.md b/content/travel/2017/2017-12-25-train-trip-to-kl.md similarity index 100% rename from content/post/2017/12/25/2017-12-25-train-trip-to-kl.md rename to content/travel/2017/2017-12-25-train-trip-to-kl.md diff --git a/content/post/2017/12/26/2017-12-26-batu-caves-kl.md b/content/travel/2017/2017-12-26-batu-caves-kl.md similarity index 100% rename from content/post/2017/12/26/2017-12-26-batu-caves-kl.md rename to content/travel/2017/2017-12-26-batu-caves-kl.md diff --git a/content/post/2018/04/08/2018-04-08-visiting-khaosan-roads-in-bangkok.md b/content/travel/2018/2018-04-08-visiting-khaosan-roads-in-bangkok.md similarity index 100% rename from content/post/2018/04/08/2018-04-08-visiting-khaosan-roads-in-bangkok.md rename to content/travel/2018/2018-04-08-visiting-khaosan-roads-in-bangkok.md