From 304a2aca8b9b1c1cacca294154517cd007bb0b98 Mon Sep 17 00:00:00 2001 From: Hugo Peixoto Date: Sat, 18 Sep 2021 03:24:17 +0100 Subject: [PATCH] Add ANSOL logo and clean up homepage a bit --- assets/images/logo.svg | 38 +++++++++++++++++++++++++++++++++++++ config/_default/menus.toml | 22 +++++---------------- config/_default/params.toml | 2 +- content/home/hero.md | 6 +++--- 4 files changed, 47 insertions(+), 21 deletions(-) create mode 100644 assets/images/logo.svg diff --git a/assets/images/logo.svg b/assets/images/logo.svg new file mode 100644 index 0000000..1f0ea62 --- /dev/null +++ b/assets/images/logo.svg @@ -0,0 +1,38 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/config/_default/menus.toml b/config/_default/menus.toml index 4f42bf2..ea60330 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.toml @@ -9,8 +9,8 @@ weight = 10 [[main]] - name = "Artigos" - url = "#" + name = "Notícias" + url = "/post" weight = 20 [[main]] @@ -19,23 +19,11 @@ weight = 30 [[main]] - name = "Arquivo" - url = "#featured" + name = "Eventos" + url = "/events" weight = 40 -# [[main]] -# name = "Courses" -# url = "courses/" -# weight = 50 - [[main]] name = "Contactos" - url = "#" + url = "#contact" weight = 60 - -# Link to a PDF of your resume/CV from the menu. -# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below. -# [[main]] -# name = "CV" -# url = "files/cv.pdf" -# weight = 70 diff --git a/config/_default/params.toml b/config/_default/params.toml index f04adc9..6f6f74b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -71,7 +71,7 @@ diagram = false # Privacy pack # Show a cookie consent message to visitors # Anonymize IP in Google Analytics (if enabled) -privacy_pack = true +privacy_pack = false # Enable visitors to edit pages? # `repo` defines the repository URL. `editable` defines which page types can be edited. diff --git a/content/home/hero.md b/content/home/hero.md index 8d07b5d..df00bcc 100644 --- a/content/home/hero.md +++ b/content/home/hero.md @@ -38,14 +38,14 @@ image_parallax = true # Use a fun parallax-like fixed background effect? true/f # Remove a link/note by deleting a cta/note block. [cta] url = "#" - label = "Faz-te sócio!" + label = "Inscreve-te!" icon_pack = "fas" icon = "user-friends" - + # [cta_alt] # url = "https://sourcethemes.com/academic/" # label = "Saber mais" -# +# # Note. An optional note to show underneath the links. [cta_note] label = 'mais pormenores'