Commit Graph

43 Commits (029a3ac1745580c999b75ae6fd9b68e520514a91)

Author SHA1 Message Date
iGor milhit 029a3ac174
content: improve verses layout for small screens
* Improves the line-height globally.
* Adds the verse class to the content block according to the layout key
  of the front matter.
* Styles the verses.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-04-01 22:05:59 +02:00
iGor milhit 0190c233e9
footer: add link to the last commit
* Adds a link, if .gitInfo is set, to the last commit that modified the
  current page. The git repository URL is still hardcoded.
* Upgrades auto-changelog.
* Updates the CHANGELOG.md file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-01-31 17:11:12 +01:00
iGor milhit 36a334cab9
list: fix date variable on the lists and sections
* Restores the Publisdate displayed on posts lists instead of Date
  (creation date).
* Restores the post-taxonomies class on the item list of the post
  information categories.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-01-31 08:32:20 +01:00
iGor milhit 817756034b
layout: improve post info in single or list pages
* Adds a lists-footer partial.
* Uses breakpoints to adapt how the post informations is aligned and
  separated when the screen gets bigger.
* Adds some space between posts in a list or section, to improve
  readability.
* Removes useless article level and renames a section into article in
  the list template.
* Uses breakpoints to adapt the navigation font-size when the screen
  gets bigger.
* Improves the font-size variables, in order to get a font-size-small
  smaller.
* Restores the section template that wasn't right, I don't know what
  I've done when rebasing and resolving conflicts…

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2021-01-30 22:56:01 +01:00
iGor milhit e1cf9185f3
shortcodes: adds an audio player with album cover
* Adds a shortcodes with an image.
* Updates the audio, stream and published shortcodes to group the
  figcaption under the audio player.
* Adds a SCSS partial for grid construction that only contains for now a
  breakpoint mixin'.
* Displays the cover above the player by default, and on the left side
  for bigger screens.
* Fixes the SCSS files according to SCSS linting.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-01-30 12:23:40 +01: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 26b0b8cf51
data: sort terms in post information
Sorts alphabetically the categories and tags in the post information.

Fixes #13.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-06-15 18:25:06 +02:00
iGor milhit e541ece884
style: Implements nord color scheme
* Lists available colors in the _variables.scss file.
* Adds a _colors.scss file to set the colors.
* Sets the colors.
* Sets the width of container larger, removes header and footer borders,
  to improve display when using different colors.
* Fixes #7.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-06-14 20:05:01 +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 31b27df95f
documentation: add a changelog and auto-changelog
* Adds auto-changelog as a node dev dependency with yarn.
* Adds .auto-changelog config file.
* Generates the first version of the changelog.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-06-01 15:24:12 +02:00
iGor milhit 16891aa840
layout: improve list of post taxonomy terms
Wraps the flex of the taxonomy term list to prevent the content being
larger than small screens. Also improves the solution for the coma
separator, to get a coma after a term (and not before), and not after
the last item of the list.

Closes #10

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-25 20:29:17 +02:00
iGor milhit 920fe4d156
lists: sort list by reverse publication date
Ensures that lists and sections are sorting the blog post by publication
date, and reversely ordered. Term lists are sorted alphabetically, which
is fine.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-24 12:54:19 +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 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 4b492fa427
style: fix wrong flex property for the main nav
Closes #4

Adds a .gitignore to avoid the css directory

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-22 11:51:24 +02:00
iGor milhit c6ea77b429
shortcodes: improve smallcaps shortcodes
Prevents the smallcaps shortcode to add trailing space before
punctuation.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-05-20 21:41:47 +02:00
iGor milhit 21d0ca2e20
shortcodes: add audio shortcode for external src
Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-04-26 11:28:30 +02:00
iGor milhit 9f142a22b4
shortcodes: add shortcodes for audio & streaming
* Adds the two shortcodes.
* Styles the figure and figcaption around the player

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2020-04-24 15:34:57 +02:00
iGor milhit 74abde3ad2
fonts: set the line height for content
Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2020-01-21 07:18:45 +01:00
iGor milhit ace3805a1d shorcodes: add a smallcaps shotcode
* Closes #1

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2020-01-20 08:03:23 +01: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 cabdffa8ac
page: deactivate pagination
* NEW Sets `paginate` to zero.
* NEW Removes `.Paginator` from the section layout.

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2019-12-10 07:17:15 +01:00
iGor milhit 8fb20228e9 RSS: update template with regular page variable
Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-09-24 16:44:13 +02:00
iGor milhit 00773873a2
documentation: clean the theme.toml file
* BETTER Cleans the theme.toml file before opening a public git
repository.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-09-01 08:36:50 +02:00
iGor milhit b5dc64935a
layout: improve taxonomies pages
* NEW Adds a templates for categories and tags lists.
* NEW Styles (not so well…) the categories and tags lists.
* BETTER Improves includes in the _default templates.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-09-01 08:32:49 +02:00
iGor milhit 09fbaa06f9
style: add rules for figure tag
Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-28 18:05:41 +02: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 f3189b4478
style: set overflow to auto for pre tag
Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2019-08-27 18:58:54 +02:00
iGor milhit 55dadc702c
layout: improve date displayed
Co-Authored-by: Igor Milhit <igor@milhit@.ch>
2019-08-26 07:20:19 +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 e27f8a9d46
style: add rules for code and footnotes
* NEW Sets a smaller font-size for code and footnotes.
* NEW Emphasis code with background color.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-15 21:39:21 +02:00
iGor milhit f0549ca0dd
rss: add the default rss template
* NEW Changes description from summary to content.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-08-11 09:12:01 +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 4477b3033e
layout: display basic taxonomies information
* NEW Adds a list template.
* NEW Displays the categories and tags of a blog post.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
2019-07-30 12:56:41 +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