Commit Graph

12 Commits

Author SHA1 Message Date
Arnaud Rebillout 3127ea1c02 Dont show older and newer buttons when pagination is disabled 2020-08-07 10:42:48 +07:00
Arnaud Rebillout ce462fea8b Add the FOOTER_TEXT variable 2020-07-30 14:46:04 +07:00
Arnaud Rebillout cdb83aabc2 Add support for MENUITEMS and DISPLAY_PAGES_ON_MENU
With this commit, `.sidebar-nav` is renamed to `.sidebar-social`. Then a
new class `.sidebar-nav` is created and used for the menu items.  This
change more or less restores `.sidebar-nav` originally was in the
`hyde.css` file.

Since `DISPLAY_PAGES_ON_MENU` defaults to `True`, this commit will
modify the appearance of your site. To go back to the previous behavior,
add this to your pelicanconf.py:

    DISPLAY_PAGES_ON_MENU = False

References:
- <https://docs.getpelican.com/en/stable/settings.html#basic-settings>
- <https://docs.getpelican.com/en/stable/settings.html#MENUITEMS>
2020-07-30 14:45:07 +07:00
Arnaud Rebillout de62fe7b47 Add the COLOR_THEME variable 2020-07-30 14:45:07 +07:00
Arnaud Rebillout 0a635b03c9 Complete the readme with authors and license 2020-07-30 14:45:07 +07:00
Arnaud Rebillout 408dca0b73 Make Academicon font optional 2020-07-30 14:45:07 +07:00
Arnaud Rebillout 000b3370f4 Use Fork Awesome as the default icon font, and rework settings
In 16e3058, a FONT_AWESOME setting was introduced and used as such:

    "https://kit.fontawesome.com/{{ FONT_AWESOME }}.js"

Also in 16e3058, the default way to fetch Font Awesome was changed to
Javascript (before we used to load is as CSS).

The present commit does several changes:

- Revert the default back to CSS (instead of JS), as I think that for a
  font, there's no need for Javascript. A font is a static asset, so
  it's enough to load it as a static CSS file, both for privacy and
  security. Also, think about those who disable JS in their browser.
- Remove the `FONT_AWESOME` setting, as it's a bit too limiting to force
  users into `kit.fontawesome.com`, it doesn't leave much space for
  configuration.
- Instead, introduce two variables `FONT_AWESOME_CSS` and
  `FONT_AWESOME_JS`, so that users have more freedom to define how they
  want to load the Font Awesome.
- Use Fork Awesome as the default, if no setting is given by user.
  Meaning that we get back to the `fa` css classes (instead of `fas` or
  `fab`)
2020-07-30 14:44:55 +07:00
Arnaud Rebillout 96b87d97d9 Document supported theme settings in the readme 2020-07-28 09:33:25 +07:00
José Guilherme Vanz f4eec82956 Update README.md
Adds a message in the README.md file requesting pull requests
2018-07-27 12:42:22 -03:00
José Guilherme Vanz 1def3dd976 screenshot: add screenshot 2015-11-17 00:23:26 -02:00
José Guilherme Vanz 3ccf42b709 README: inspiration 2015-10-25 02:48:47 -02:00
José Guilherme Vanz 832c293396 Initial commit 2015-10-25 01:56:27 -02:00