Skip to content

Web2018 CDN

William Belle edited this page Oct 24, 2024 · 28 revisions

Assets

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">

Templates and Error pages

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).

Templates

For example:

An example page with all the templates is available here.

Error pages

For example:

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
Clone this wiki locally