This web site is published to huguesvalois.com.
Jekyll is used to generate a static web site for GitHub pages.
See Setting up a GitHub Pages site with Jekyll for general information.
The site uses minima as a remote theme (it is pulled from their GitHub repo instead of using a gem) since the latest version of minima has not been published to rubygems.org.
Install Ruby 3.2 or later from rubyinstaller.org.
- Install dependencies with
bundle install
. - Generate and start the server with
bundle exec jekyll serve --livereload
.
-
Create an album in OneDrive, or some other service. Share the album, protected with a password.
-
Create a 1024 x 576 pixels jpg thumbnail file in the
assets/albums/
folder. -
Add an entry for the album in the
_data/albums.yml
file. Albums are displayed in the order they appear in the file.- isVisible: true url: <link to the shared album> name: <album name> date: <the date appears before the album name> file: <thumbnail file name>.jpg
To remove an album, either remove the entry and delete the thumbnail file, or change isVisible: false
.
The home page shows a random image on every page load.
To add an image:
-
Create a greyscale, 960 x 320 pixels jpg file in the
assets/slider/
folder. -
Add an entry for the image in the
_data/sliders.yml
file.- isVisible: true file: <image file name.jpg>
To remove an image, either remove the entry and delete the file, or change isVisible: false
.
The home page shows a list of blog entries.
To add a blog entry:
- Create a .markdown file in the
_posts/
folder. Entries are displayed in alphabetical order based on file name.