Commit Graph

32 Commits

Author SHA1 Message Date
f-dinucci 1f34459bd6 feat: enable wave on/off in single page 2022-07-30 17:25:49 +02:00
f-dinucci 69fabd7b8f feat!: insert text above in widgetBoxIconText and widgetBoxImageText
BREAKING CHANGE: configuration file
2022-07-30 17:25:49 +02:00
f-dinucci 8e0c24415e feat!: gallery widget + enable icons
BREAKING CHANGE: requires configuration files
2022-07-30 17:25:49 +02:00
f-dinucci 8d7070cf67 refactoring[layout]!: improve submodules, make them configurable
* Fix: defines images alt text through file
* Homepage layout: single elements can be enabled/disabled
* Widgets: dehardcodes title. As a consequence, configuration files have
  been renamed, widgets are now totally "generic" and could be reused

BREAKING CHANGES: requires new configuration file for home layout. Old
configuration file have been renamed due to dehardcoding.
Closes: #4 #18
Conflicts: pull #13
Kudos: @Zekromaster for the dehardcoding
2022-07-30 17:25:49 +02:00
f-dinucci 72fe5a6148 refactor[home]: split monolithic home into reusable partials
Home is split into submodules loaded as partials, indent and comment
code
2022-07-30 17:25:49 +02:00
f-dinucci 5388b7681b feat: introduces single page layout
Single pages can now be created, updates CSS as dependancy.
Changes example site to show an example page.
2022-07-30 17:25:49 +02:00
f-dinucci 4de4465dd0 feat[head]: change title format to "Page Title | Site Title"
e.g. "My page | My site" instead of "My site"
2022-07-30 17:25:49 +02:00
f-dinucci 30ecf2a834 fix[footer]: allow defining markup language
Custom footer is currently rendered through .RenderString, that defaults
to page's markup language, but page and footer could be written in two
different languages (eg. footer in Markdown and page in Asciidoc). In
this case the footer wouldn't be rendered correctly unless the markup
language used is specified. Now it is possible.
2022-07-30 17:25:49 +02:00
f-dinucci 994772696a feat[footer]: allow footer customization
A part of the footer (copyright/author/date) is hardcoded, while the
other part is loaded from a TOML (included in example site) and rendered
through .RenderString

Closes: #8
2022-07-30 17:25:49 +02:00
f-dinucci df1a0fd2ea refactor[partials]: reorganize partials to enhance code reuse
Partials have been reorganized, to improve general understandability and
enhance code reuse (ex. when adding pages, the "wave" will be loaded as
a partial)
2022-07-30 17:25:49 +02:00
f-dinucci f11421ae38 refactor[index]: partials are now loaded by baseof, for all pages
Due to previous commits, now the partials are being loaded for all the
pages through baseof.html, so it is not necessary to load them in the
index (this would result in double-loading)
2022-07-30 17:25:49 +02:00
f-dinucci 73ee4f6f09 refactor[layouts]: reorganize head and header according to standards
According to latest HTML standards, head is for metadata, header for
headers/other content
2022-07-30 17:25:49 +02:00
f-dinucci 9fd5f1420c refactor[layouts]: reorganize baseof.html
Refactors baseof.html to follow the latest Hugo conventions and comments
for a better readability
2022-07-30 17:25:49 +02:00
f-dinucci f0bfa5e80a chore[devicon]: update to latest version and fix links
devicon project has been moved from github.com/konpa/devicon/ to
github.com/devicons/devicon. Updates links and credits accordingly.

Closes: #16
2022-07-30 17:25:49 +02:00
f-dinucci df90069efd chore[fontawesome]: upgrade and switch to self hosting
Upgrade fontawesome to latest LTS (v5.15.4  free icons only), switch to self
hosting

Closes: #14
2022-07-30 17:25:49 +02:00
f-dinucci b618d1235b chore[tailwindcss]!: upgrade tailwindcss to v3.0.24
Upgrades tailwindcss to latest stable (v3.0.24), creates a build
pipeline for tailwind.min.css (as of 3.x there is no more dist, files
have to be created by users), switches from loading from UNPKG to
hosting locally.

BREAKING CHANGE: tailwindcss version bumped from v1.9.6 to v3.0.24,
customization using deprecated functions will not work anymore
Updates: #15
2022-07-30 17:25:49 +02:00
f-dinucci 309c2ab422 refactor[partials/header]: comment and remove redundancies
header.html partial: add comments, remove redundant call to navbar.css
2022-07-30 17:25:49 +02:00
Osmandi 9caf7456d5 Add atribute on click in the image on Projects 2020-09-06 14:05:00 -05:00
gangjun06 6aa5458ed0 update favicon.ico 2020-08-15 13:02:42 +00:00
gangjun06 f46bfa2ee9 update layout issue 2020-08-15 12:29:17 +00:00
gangjun06 1b4c23e670 exception handling 2020-08-15 12:20:48 +00:00
gangjun06 ef1b2b2014 update 2020-08-14 20:04:51 +00:00
gangjun06 6ebff61bb9 update navbar for mobile 2020-08-14 19:29:16 +00:00
gangjun06 94f47a446c about me url 2020-08-13 13:36:58 +00:00
gangjun06 5726fcc29a update 2020-08-13 13:30:59 +00:00
gangjun06 00799926ab fix wave not showing issue 2020-08-13 13:25:54 +00:00
gangjun06 d42a7bded5 move exmple, update baseURL 2020-08-13 12:39:50 +00:00
gangjun06 08882d82a5 update readme.md 2020-08-13 11:38:17 +00:00
gangjun06 5f811378d2 update navbar 2020-08-13 10:49:55 +00:00
gangjun06 2dc3a2643a basic layout 2020-08-13 09:41:37 +00:00
gangjun06 dec0deaa8e about tab 2020-08-12 23:27:16 +00:00
gangjun06 bbd3d0a885 init commit 2020-08-12 22:15:08 +00:00