diff --git a/README.md b/README.md index f56628f..5543dbb 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ summaryLength = 70 # number of words for article summaries forceRedirect = false infiniteScrolling = false # activates infinite scrolling instead of regular pagination + enableFooterColumns = false # activates footer columns, as described below [menu] # these links will be added to the main navigation menu, sorted by weight @@ -134,6 +135,30 @@ For the `[[menu.icons]]` menu. They match identifier, name and url can be whatev - phone - rss +## Footer columns + +You can add various columns of links in the footer using the `data/footer_columns.yml` file. + +Following is an example configuration: + +```yaml +- title: My other projects + links: + - title: HydraPaper + link: https://hydrapaper.gabmus.org + - title: Ada UI + link: https://gitlab.com/gabmus/ada-ui +- title: About me + links: + - title: My personal website + link: https://gabmus.org + - title: My GitLab + link: https://gitlab.com/gabmus + - title: My GNOME GitLab + link: https://gitlab.gnome.org/gabmus +``` + + ## Inject custom content Ficurinia supports injecting custom content into the theme. There are several files you can create in `layouts/partials/inject` that will be included inside the theme in different places. diff --git a/assets/scss/style.scss b/assets/scss/style.scss index d29c136..c410766 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -52,6 +52,20 @@ footer { hr { margin-top: 50px; } + .footerColumns { + font-size: .9rem; + display: flex; + flex-direction: row; + flex-wrap: wrap; + ul { + margin: 12px; + list-style-type: none; + padding: 0; + li > strong { + font-size: 1rem; + } + } + } } #titleContainer { diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2c9ff7e..6c96f05 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,7 @@