Purge folder before generating

hugo
J. Fernando Sánchez 5 years ago
parent 566a103c9a
commit 5b93f7d576

@ -1,9 +0,0 @@
+++
title = "About"
date = "2017-02-24"
menu = ["main"]
+++
Hi!
My name is Fernando. I'm a researcher and developer from Madrid, Spain.

@ -2,8 +2,10 @@
echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"
rm -rf public/*
# Build the project.
hugo # if using a theme, replace with `hugo -t <YOURTHEME>`
hugo # --cleanDestinationDir also removes .git :/ # if using a theme, replace with `hugo -t <YOURTHEME>`
# Go To Public folder
cd public

@ -765,10 +765,6 @@ a {
padding: 0.5em;
}
.navbar li:hover {
border-bottom: solid 2px black;
}
.navbar li {
margin: 0;
@ -778,13 +774,16 @@ a {
.navbar li:hover {
position: relative;
margin-bottom: -2px;
color: #000;
background-color: #fff;
text-shadow: 2px 2px #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
border-bottom: solid 2px black;
}
.navbar li.active {
border-bottom: solid 2px #C00;
margin-bottom: -2px;
}
.navbar a:hover {

Loading…
Cancel
Save