Commit Graph

15 Commits (10fefee380f170fbfa3bcb4869da941b407b0d45)

Author SHA1 Message Date
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 7b43ee60e5
template: compare lastmod and publishdate
Most of blog posts have the lastmod displayed even if the publishdate is
the same day, because lastmod comes from git information and has also
hour, minutes and second, and publishdate is set manually, with only
year, month and day.

* Formats the date to compare them accurately, with datFormat function.
* Styles a little bit the blockquote tag.
* Spaces evenly the post information blocks.
* Closes #5

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-22 14:11:34 +02:00
iGor milhit 9fb6836788
post info: improve punctuation and space usage
* NEW Uses pseudo-element to add trailing space and coma.
* NEW Uses flex options to improve space usage.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-01-19 18:00:55 +01:00
iGor milhit 84a2435161
navigation: add a RSS link
Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-01-17 17:29:06 +01:00
iGor milhit c44eb759f0
section: improve sections, lists and navigation
* Splits styles into partials.
* Adds a category entry to the navigation menu.
* Adds a flex to the header to get the menu on the right.
* Adds a flex to the sections and lists to diplay information evenly.

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2020-01-17 14:11:20 +01: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 74181ecd54
layout: improve dates logic
* BETTER Improves a test to display lastmod only if it's bigger than
publishdate.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-27 19:20:28 +02:00
iGor milhit 02d6d2f086
layout: add a partial for blog post data
* NEW Adds a partial for blog post data.
* NEW Displays date or publishdate, and lastmod if it exists.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-25 08:58:26 +02: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 909c3caa97
style: add minimal stylesheet rules
* NEW Adds CSS rules.
* BETTER Improves very slighlty some layout templates.
* FIX Fixes a missing code label.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-01 08:02:23 +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 788c7c621b
homepage: personnal data
* NEW Adds an index layout.
* NEW Adds a partial perso layout.
* NEW Adds a partial pro layout.
* NEW Adds a partial online layout.

Signed-off-by: iGor milhit <igor@milhit.ch>
2019-03-20 07:20:27 +01: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