-
Notifications
You must be signed in to change notification settings - Fork 2
Web2018 CDN
William Belle edited this page Oct 24, 2024
·
28 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/7.1.0/css/elements.min.css">
<script src="https://web2018.epfl.ch/7.1.0/js/elements.min.js"></script>
<img src="https://web2018.epfl.ch/7.1.0/icons/epfl-logo.svg" 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/7.1.0/includes/head.html
- https://web2018.epfl.ch/7.1.0/includes/logo.html
- https://web2018.epfl.ch/7.1.0/includes/footer-light-de.html
- https://web2018.epfl.ch/7.1.0/includes/footer-light-fr.html
- https://web2018.epfl.ch/7.1.0/includes/footer-light-en.html
- https://web2018.epfl.ch/7.1.0/includes/footer-scripts.html
- ...
An example page with all the templates is available here.
For example:
- https://web2018.epfl.ch/7.1.0/errors/404-de.html
- https://web2018.epfl.ch/7.1.0/errors/404-en.html
- https://web2018.epfl.ch/7.1.0/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/7.1.0/download-me.html
Home | Technical Documentation | © EPFL 2018-2024.