-
Notifications
You must be signed in to change notification settings - Fork 2
Web2018 CDN
William Belle edited this page May 20, 2025
·
32 revisions
The domain web2018.epfl.ch deliver cached version of compiled CSS, JS and icons to your project.
For example:
<link rel="stylesheet" href="https://web2018.epfl.ch/8.0.1/css/elements.min.css">
<script src="https://web2018.epfl.ch/8.0.1/js/elements.min.js"></script>
<img src="https://web2018.epfl.ch/8.0.1/icons/epfl-logo.svg" alt="Logo EPFL" class="img-fluid">
Or you can use up to date version of the logos:
<img src="https://web2018.epfl.ch/logo/epfl-logo.svg" alt="Logo EPFL" class="img-fluid">
<img src="https://web2018.epfl.ch/logo/epfl-logo.png" alt="Logo EPFL" class="img-fluid">
The domain web2018.epfl.ch deliver reusable version of templates (includes) and complete error pages to your project in 3 languages (French, English and German).
For example:
- https://web2018.epfl.ch/8.0.1/includes/head.html
- https://web2018.epfl.ch/8.0.1/includes/logo.html
- https://web2018.epfl.ch/8.0.1/includes/footer-light-de.html
- https://web2018.epfl.ch/8.0.1/includes/footer-light-fr.html
- https://web2018.epfl.ch/8.0.1/includes/footer-light-en.html
- https://web2018.epfl.ch/8.0.1/includes/footer-scripts.html
- ...
An example page with all the templates is available here.
For example:
- https://web2018.epfl.ch/8.0.1/errors/404-de.html
- https://web2018.epfl.ch/8.0.1/errors/404-en.html
- https://web2018.epfl.ch/8.0.1/errors/404-fr.html
- ...
As most templating languages does not support including content from a remote server, you can retrieve all the templates and error pages via:
wget -P /var/www/mywebsite/header -N -nd -r -l 1 https://web2018.epfl.ch/8.0.1/download-me.html
Home | Technical Documentation | © EPFL 2018-2024.