Go to file
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
content Add example content of Labs section. 2019-04-09 08:32:03 +08:00
layouts Load the different headers from the default one. 2019-04-09 08:32:03 +08:00
static/images initial commit 2019-03-31 19:00:21 +08:00
tasks Delete the `public` directory before generating the contents. 2019-04-13 19:03:45 +08:00
themes/angels-ladder Delete the `url` setting from the archetypes file. 2019-04-02 23:13:03 +07:00
.gitignore Ignore vim swap file. 2019-04-12 15:43:58 +07:00
.textlintrc initial commit 2019-03-31 19:00:21 +08:00
Rakefile initial commit 2019-03-31 19:00:21 +08:00
config.toml initial commit 2019-03-31 19:00:21 +08:00