Commit Graph

11 Commits (897b8e6ecfbb8b8c6cf9235564fbde992d75de72)

Author SHA1 Message Date
iGor milhit 897b8e6ecf
style: add a stylesheet for printing
* Install the gutenberg framework with yarn.
* Copy the stylesheet to assets/css.
* Configure the resource in the head.html.
* Adapt the templates to hide elements on print.
* Closes #28.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-11-04 18:24:16 +01:00
iGor milhit e7de77b3ad
head: improve the metadata exposed
* Improves the metadata exposed, such as site or post description, site
  or post image. Make use of <https://matuzo.at/blog/html-boilerplate>.
* Removes extra empty lines or identation due to badly written layout.
  However, minifying at build could be a good idea.
* Improves very slightly the webmanifest file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-05 22:02:08 +02:00
iGor milhit e56fddc6e0
head: add a favicon
The favicon, used to display the little icon in the browser tab and some
other places elsewhere, has been prepared by

@Troll https://maly.io/@Troll

* Creates the static directory.
* Places the favicon's files in that directory.
* Updates the head partial template with appropriate links

Co-Authored-by: Igor Milhit <igor@milhit.ch>
Co-Authored-by: @troll <Troll@maly.io>
2020-07-17 18:48:52 +02:00
iGor milhit ab91d9b590
RSS: Improves the RSS template
Reuses the latest Hugo embedded RSS template and adapts it with full
content and publish date.

Fixes #9, thus restoring a RSS feed different for the entire site, the
section, taxonomy terms, and so on.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-06-01 16:03:27 +02:00
iGor milhit 10fefee380
template: add metadata to the html head
Expose metadata in a way that Zotero can read, so Dublin Core and Open
Graph are an easy way. No so easy, but still.

The language attribute of the html tag has been correctly set.

In the process, the date test has been improved.

Closes #3

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-23 16:14:27 +02:00
iGor milhit a7a017b68a
style: start using SASS and assets
* NEW Adds assets/scss directories.
* Copies static/styles.css to assets/scss/main.scss
* Improves head layouts to compile assets depending if on server or
  build.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-12-15 15:45:47 +01:00
iGor milhit 38566ba106
layout: remove the base href
* FIX Removes the base href because it interfere with footnotes anchors.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-15 22:01:02 +02:00
iGor milhit 2c7e6cf2d7
layout: set the viewport meta tag
Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-08 21:53:45 +02:00
iGor milhit 498a724195
layout: add default and partials
* NEW Adds a section template.
* NEW Adds a single page template.
* NEW Fills in the header and footer templates.
* BETTER Improves the global html head template.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-07-30 08:44:46 +02:00
iGor milhit 9b7e39acd2
homepage: structure the homepage content
* NEW Adds professional data.
* BETTER Complete personal data.
* NEW Adds online contacts.
* Structure data parts with description list.
* NEW Adds a static style sheet and minimally styles the description
lists.

Co-Authored-by: Igor Milhit <igor.milhit@rero.ch>
2019-07-05 19:36:23 +02:00
Igor Milhit 3b7347cdee
theme: initialize new hugo theme
* NEW Adds files for an empty theme.
* NEW Updates the LICENCE.
* NEW Adds a README.md and an empty css file.

Signed-off-by: iGor milhit <igor@milhit.ch>
2019-03-04 06:58:25 +01:00