Kazuhiro MUSASHI
d6b773f8e8
Modify contents to demonstrate `Leaflet.js` shorcodes.
2019-04-14 00:31:10 +08:00
Kazuhiro MUSASHI
c1cc2467e7
Add a shorcode for TopoJSON support.
2019-04-14 00:29:54 +08:00
Kazuhiro MUSASHI
7e1fc240f3
Add `leaflet-circle.html` as a shorcode for map circle.
2019-04-14 00:29:26 +08:00
Kazuhiro MUSASHI
78fd1b8673
Add `leaflet-marker.html` as a shortcode for map marker.
2019-04-14 00:28:58 +08:00
Kazuhiro MUSASHI
9cffb5d267
Add `leaflet-map.html` as a short code for the map.
2019-04-14 00:28:23 +08:00
Kazuhiro MUSASHI
0752b8e267
Merge pull request #6 from kazu634/delete-public-directory-before-generation
...
Delete public directory before generation
2019-04-13 18:11:55 +07:00
Kazuhiro MUSASHI
20da08ecbb
Delete the `public` directory before generating the contents.
...
```
--- a/tasks/build.rake
+++ b/tasks/build.rake
@@ -20,8 +20,6 @@ end
desc 'Generate the HTML pages'
task :build do
- sh 'hugo'
-
cd 'content/post' do
if os == :linux
sh 'grep -l ecx.images-amazon.com *.md | sort | uniq | xargs --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"'
@@ -33,4 +31,10 @@ task :build do
sh 'rm *.mde || true'
sh 'rm *.md-e || true'
end
+
+ cd 'public' do
+ sh 'rm -rf *'
+ end
+
+ sh 'hugo'
end
```
2019-04-13 19:03:45 +08:00
Kazuhiro MUSASHI
82e81fcfbf
[WIP] Delete public directory before hugo generates the contents.
...
Delete public directory before hugo generates the contents.
2019-04-12 22:17:47 +08:00
Kazuhiro MUSASHI
0419f696a2
Merge pull request #5 from kazu634/ignore-vim-swap-file
...
Ignore vim swap file.
2019-04-12 15:44:41 +07:00
Kazuhiro MUSASHI
110c2513bd
Ignore vim swap file.
2019-04-12 15:43:58 +07:00
Kazuhiro MUSASHI
edb7a95bc4
Merge pull request #4 from kazu634/make-another-sections
...
Make `Labs` section
2019-04-09 09:34:05 +09:00
Kazuhiro MUSASHI
bf1ecb0a9c
Add example content of Labs section.
2019-04-09 08:32:03 +08:00
Kazuhiro MUSASHI
ebdf0b1dfb
Load the different headers from the default one.
2019-04-09 08:32:03 +08:00
Kazuhiro MUSASHI
45c958bcdd
Display the Labs page explanation, list up the articles on the Labs page.
2019-04-09 08:32:03 +08:00
Kazuhiro MUSASHI
d42a8e4085
Add Labs page explanation _index.html
2019-04-09 08:32:03 +08:00
Kazuhiro MUSASHI
057b117413
Add link to the Labs section
2019-04-09 07:26:35 +08:00
Kazuhiro MUSASHI
1a934a8897
Merge pull request #3 from kazu634/delete-posts-without-date-information
...
Delete the posts without date information
2019-04-07 23:47:59 +09:00
Kazuhiro MUSASHI
860d782b3e
Delete the posts without date information
2019-04-07 22:47:00 +08:00
Kazuhiro MUSASHI
f3067f82d4
Merge pull request #2 from kazu634/url-modify
...
Url modify
2019-04-02 23:14:28 +07:00
Kazuhiro MUSASHI
f538600b0b
Delete the `url` setting from the archetypes file.
2019-04-02 23:13:03 +07:00
Kazuhiro MUSASHI
4feda5305c
Delete the unnecessary commands from the new task.
2019-04-02 23:12:33 +07:00
Kazuhiro MUSASHI
36ba17039d
Delete the url setting from `.md` files.
2019-04-02 23:09:46 +07:00
Kazuhiro MUSASHI
c78d9c7e3b
Merge pull request #1 from kazu634/change-directory-structure
...
Change the directory structure.
2019-03-31 23:28:58 +07:00
Kazuhiro MUSASHI
a1f6427f14
Change the directory structure.
2019-04-01 00:25:36 +08:00
Kazuhiro MUSASHI
3c8b202f54
initial commit
2019-03-31 19:00:21 +08:00