No description
Find a file
dependabot[bot] b436a5a95b
Bump pygments from 2.15.1 to 2.20.0
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.1 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.15.1...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 15:51:19 +00:00
assets move static files to assets folder and copy that folder content to the build 2023-06-18 23:34:43 +02:00
data change directories names 2023-06-29 20:47:44 +02:00
dist refactor(html): reformat and modernize HTML structure 2025-05-13 01:02:07 +02:00
lib use rich 2023-07-05 21:00:22 +02:00
pages refactor(html): reformat and modernize HTML structure 2025-05-13 01:02:07 +02:00
.gitignore use config 2023-05-28 12:49:03 +02:00
config.toml return exit code 1 if config file is missing 2023-07-05 15:52:05 +02:00
Makefile use rich 2023-07-05 21:00:22 +02:00
Pipfile use rich 2023-07-05 21:00:22 +02:00
Pipfile.lock Bump pygments from 2.15.1 to 2.20.0 2026-03-30 15:51:19 +00:00
pyproject.toml success page 2023-05-28 14:03:49 +02:00
README.md use rich 2023-07-05 21:00:22 +02:00

VillaFleurie rental site

Netlify Status

How to use

You can build the site using the built-in static site generator included. The entry point is located in the main file. It should not be modified.

Add a page

To add a page, create a HTML file in the pages directory.

Optionally, you can inject data in the template. To do so you should create a TOML file with the same name as the template.

Any fields will become available in the template. For instance the index.toml for index.html could contain the following fields:

name = "index"
template = "index.html"

Layouts

You can use template inheritance. The layouts must be in the pages/layouts subdirectory.

Configuration

The configuration file (config.toml) is mandatory and should resemble:

name = "VillaFleurie"

Build site

You can generate the site by running:

python -m lib.main

How to run the website

It will generate the final files in the dist folder. You can run the output files using a simple python server:

cd dist && python -m http.server

Deployment

You can then deploy the site on any platform supporting static sites (Netlify,…) or your own VPS.

TODO

  • Create a base template for the header and footer
  • Build index page
  • Build room pages
    • T2
    • T3
  • Build contact pages
  • Use netlify form for the contact form
  • Deploy to VillaFleurie's domain
  • Find attractions for landing page
  • Pick real reviews from AirBnB and Booking
  • Optimize images
  • Automate the file search
  • Extract data out of the template
  • Create a 'all' key for data available in all templates
  • Create a template for the rooms
  • Build script before commit
  • Lit parapluie, barbecue et machine à laver
  • Use rich instead of logger
  • Add file watching mode

Excluded

  • The language switcher

Built with

  • Jinja - fast, expressive, extensible templating engine
  • Netlify - Develop and deploy websites and apps in record time