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