The repository contains my personal blog code. The blog is built by Pelican static site generator. It is used pelican-bootstrap3 theme.
The included plugins are
- tipue_search.
- more_categories.
- minify.
The changes to pelican-bootstrap3 theme are
- Modified article_info.html template to include more_categories implementation.
- Modified article_list.html template and style.css to line up vertically article image and header.
- Modified article_list.html template to add
alt
attribute to article logo images. SEO requests that all images have to havealt
attribute. Logo images should be located in a folder, for example, extra and names should include-
character to separate words.Cover: /extra/synology-logo.png
is converted toalt="Synology logo"
. - Modified base.html template to add Meta Description Tag. It's mandatory SEO element. pelicanconf.py file should have
SITE_DESCRIPTION
variable, for exampleSITE_DESCRIPTION = 'A personal blog.'
. - Modified base.html template to add
alt
attribute to site logo image. The value isSITENAME
. SEO requests that all images have to havealt
attribute. - Modified base.html template and style.css to (1) add search icon, (2) reduce search input field height, and (3) line up search input field for desktop and mobile in tipue_search.
- Modified article_list.html to make article labels with left and right paddings.
- Added page views counter to article pages.
- Added Google Analytics 4.
- blog_metrics.js
- ga.html
- article.html
- Implemented formatting of the page views field.
- article.html
- Replaced Google Universal live analytics with historical one as Universal analytics is retired Jun 1, 2024.
- blog_metrics_universal.js
- article.html
The actual blog is located here.