From 5b93f7d57651383ccdfe7ffbf8b127965ca5d051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Fri, 11 Jan 2019 16:19:29 +0100 Subject: [PATCH] Purge folder before generating --- content/page/about.md | 9 --------- deploy.sh | 4 +++- themes/balkian/static/css/main.css | 7 +++---- 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 content/page/about.md diff --git a/content/page/about.md b/content/page/about.md deleted file mode 100644 index 7211edf..0000000 --- a/content/page/about.md +++ /dev/null @@ -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. diff --git a/deploy.sh b/deploy.sh index 2999d88..3275ccf 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 ` +hugo # --cleanDestinationDir also removes .git :/ # if using a theme, replace with `hugo -t ` # Go To Public folder cd public diff --git a/themes/balkian/static/css/main.css b/themes/balkian/static/css/main.css index c8d63ed..e01e552 100755 --- a/themes/balkian/static/css/main.css +++ b/themes/balkian/static/css/main.css @@ -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 {