Commit Graph

53 Commits

Author SHA1 Message Date
Daniel Nagel
897a37137d sidebar 2026-05-08 18:34:46 +00:00
Daniel Nagel
48b70f4434 Style angepasst. Redundantes entfernt. 2026-05-08 09:50:14 +00:00
Daniel
20bcba1939 Customize colors: black background, green text, monospace font 2026-05-07 21:55:09 +02:00
Peter Murray
ac058f465c Fix "Continue Reading" href
Without the `{{ SITEURL }}/` works fine with the default category and tags setup, but when those URL structures change, then this URL becomes invalid.

```
CATEGORY_URL = "category/{slug}"
CATEGORY_SAVE_AS = "category/{slug}/index.html"
TAG_URL = "tag/{slug}"
TAG_SAVE_AS = "tag/{slug}/index.html"
```
2025-05-22 13:41:28 -03:00
Max Pfeiffer
71c8483290 Fixed handling of article image metadata in articles 2025-05-22 13:39:25 -03:00
Jan Holthuis
53a18556cc Fix link to homepage in sidebar
This fixes an issue when the website is deployed to a subdirectory of
the web server (e.g., `SITEURL` is set to a value like
`https://example.com/john.doe/`).
2023-07-07 11:42:56 -03:00
George Katsaros
5cb9d6db8a feat: change script to use the new Google Analytics 4 2022-07-05 16:18:06 -03:00
Floyd Hightower
9e6f6a15f0 Update article tags to display same as index 2021-12-26 21:53:00 -03:00
Floyd Hightower
ba3949f07a Adding code to support tags
Fixes #1
2021-12-26 21:53:00 -03:00
José Guilherme Vanz
7f8341ad1c
Merge pull request #18 from elboulangero/master
Last fixes for now
2020-08-11 20:27:06 -03:00
Arnaud Rebillout
256e8445db Make sidebar social buttons open a new tab/window
As these are links that take you out of the blog, it feels right to open
those in a new tab or window.
2020-08-11 10:53:20 +07:00
Arnaud Rebillout
3127ea1c02 Dont show older and newer buttons when pagination is disabled 2020-08-07 10:42:48 +07:00
Arnaud Rebillout
3a92d3de28 Fix MENUITEMS urls
Looking at the pelican default themes (and others), we can see that
menuitems are expected to be full URLs, not URLs relative to the
SITEURL.
2020-08-07 10:42:48 +07:00
José Guilherme Vanz
8bd6ec8a59
Merge pull request #15 from elboulangero/bunch-of-improvements
Bunch of improvements
2020-08-02 20:18:24 -03:00
Arnaud Rebillout
ce462fea8b Add the FOOTER_TEXT variable 2020-07-30 14:46:04 +07:00
Arnaud Rebillout
a3258aa902 Give social items a static width
Otherwise it depends on the size of the sidebar, and it might get ugly
if ever the sidebar width is changed (say, for someone who tweaks the
theme and enlarge or shrink the sidebar).
2020-07-30 14:46:04 +07:00
Arnaud Rebillout
8daf78dfc6 Finish to rename nav-item to social-item
... due to previous commit
2020-07-30 14:46:02 +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
d54ac6880c Fix CSS for other background colors
Basically, we just lighten or darken where need be, instead of
hardcoding colors.
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
07c1ecef15 Remove paragraph from the article urls, in the index page 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
Arnaud Rebillout
b3ad890a46 Re-indent disqus fragment 2020-07-26 15:26:55 +07:00
Arnaud Rebillout
6fe74116dc Update disqus fragment
Per Pelican simple theme and Disqus official documentation:
- https://github.com/getpelican/pelican/blob/master/pelican/themes/notmyidea/templates/disqus_script.html
- https://disqus.com/admin/universalcode/
2020-07-26 15:26:00 +07:00
Arnaud Rebillout
8a20068fe6 Update google_analytics fragment, add support for GA_COOKIE_DOMAIN
Per Pelican simple theme and Google Analytics documentation:
- https://developers.google.com/analytics/devguides/collection/analyticsjs
- https://github.com/getpelican/pelican/blob/master/pelican/themes/notmyidea/templates/analytics.html
2020-07-26 15:26:00 +07:00
Arnaud Rebillout
a6a9b79389 Update feeds fragment, add support for every feed-related variables
All this boilerplate is taken straight from the pelican simple theme:
- https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/base.html
2020-07-26 15:26:00 +07:00
Arnaud Rebillout
2dd1cd6d27 Move feeds into a fragment file 2020-07-26 15:26:00 +07:00
Arnaud Rebillout
43c9c419c0 Fix feeds href everywhere
Per https://docs.getpelican.com/en/stable/settings.html#feed-settings:

    FEED_DOMAIN = None, i.e. base URL is "/"

    The domain prepended to feed URLs. Since feed URLs should always be
    absolute, it is highly recommended to define this (e.g.,
    “https://feeds.example.com”). If you have already explicitly defined
    SITEURL (see above) and want to use the same domain for your feeds, you
    can just set: FEED_DOMAIN = SITEURL.

Using `href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}"` in the template
seems to be the right way to do things, by looking at other themes, eg
the default theme in Pelican itself:

https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/base.html

Obviously, this change might break things for some users of the theme.
If someone used to have this definition in `publishconf.py`:

    FEED_ALL_ATOM = SITEURL + '/feeds/all.atom.xml'

Then they should update to:

    FEED_DOMAIN = SITEURL
    FEED_ALL_ATOM = 'feeds/all.atom.xml'
2020-07-26 15:25:52 +07:00
Arnaud Rebillout
c688953bc0 Cosmetics, add 'analytics' comment 2020-07-26 15:25:41 +07:00
José Guilherme Vanz
3e00b2a509
Merge pull request #14 from schneiderfelipe/useatomfeed
Use the correct link to feed
2020-05-13 10:51:47 -03:00
José Guilherme Vanz
f12a9b7ce9
Merge pull request #13 from schneiderfelipe/academicons
Support Academicons
2020-05-12 08:51:03 -03:00
José Guilherme Vanz
f3d852119b
Merge pull request #12 from schneiderfelipe/master
Update font-awesome to 5.13.0 and support kit.fontawesome.com
2020-05-07 07:48:20 -03:00
Felipe S. S. Schneider
353f49ca84 Use Atom feed instead of RSS 2020-05-02 14:58:05 -03:00
Felipe S. S. Schneider
12d183b4c1 Support Academicons 2020-05-02 13:31:06 -03:00
Felipe S. S. Schneider
16e3058462 Update font-awesome to 5.13.0 and support kit.fontawesome.com 2020-05-02 12:37:49 -03:00
José Guilherme Vanz
1dbdcdb89d
Merge pull request #11 from elboulangero/bump-font-awesome
Bump font-awesome to 4.7.0
2019-06-21 16:35:17 -03:00
Arnaud Rebillout
32e7e47d14 Bump font-awesome to 4.7.0
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
2019-02-17 12:18:29 +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
a3147e2056 Merge pull request #10 from Nagasaki45/master
Replace | with - between site name and subtitle in open graph title
2017-09-03 04:07:14 -03:00
Tom Gurion
890401c658 Replace | with - between site name and subtitle in open graph title 2017-09-02 22:16:56 +01:00
José Guilherme Vanz
d492ee6d32 Merge pull request #9 from Nagasaki45/og
Add metadata description and open graph tags
2017-08-30 22:15:27 -03:00
Tom Gurion
6c7fe23989 Add metadata description and open graph tags 2017-08-28 18:32:58 +01:00
José Guilherme Vanz
1d615a6670 sidebar.html: add email 2016-01-24 23:56:04 -02:00
José Guilherme Vanz
344a7fa383 Merge pull request #4 from nicosomb/master
Some enhancements
2016-01-20 22:29:55 -02:00
Nicolas Lœuillet
1bd296b995 Some enhancements
* add SITESUBTITLE for title pages
* add pagination links for previous and next articles
* remove hardcoded email of jvanz (creator of this theme)
2016-01-04 13:28:30 +01: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