diff --git a/config/_default/server.toml b/config/_default/server.toml index 9439ee09..fe6a9081 100644 --- a/config/_default/server.toml +++ b/config/_default/server.toml @@ -8,7 +8,7 @@ Content-Security-Policy = """ base-uri 'self'; \ connect-src 'self' *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ - default-src 'none' 'self'; \ + default-src 'none'; \ font-src 'self' fonts.gstatic.com; \ form-action 'self'; \ frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \ diff --git a/exampleSite/config/_default/netlify.toml b/exampleSite/config/_default/netlify.toml index bc550deb..4a13acba 100644 --- a/exampleSite/config/_default/netlify.toml +++ b/exampleSite/config/_default/netlify.toml @@ -1,19 +1,19 @@ [[redirects]] - from = '/fr/**' + from = '/fr/*' to = '/fr/404.html' status = 404 [[redirects]] - from = '/nl/**' + from = '/nl/*' to = '/nl/404.html' status = 404 [[redirects]] - from = '/en/**' + from = '/en/*' to = '/en/404.html' status = 404 [[redirects]] # Default language should be last. - from = '/**' + from = '/*' to = '/en/404.html' status = 404 \ No newline at end of file diff --git a/exampleSite/config/_default/server.toml b/exampleSite/config/_default/server.toml index e89180fa..9b2021f2 100644 --- a/exampleSite/config/_default/server.toml +++ b/exampleSite/config/_default/server.toml @@ -7,17 +7,17 @@ Access-Control-Allow-Origin = '*' Content-Security-Policy = """ base-uri 'self'; \ - connect-src 'self' *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ + connect-src 'self' *.cookieyes.com cdn-cookieyes.com *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ default-src 'none'; \ font-src 'self' fonts.gstatic.com; \ form-action 'self'; \ frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \ - img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \ + img-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \ manifest-src 'self'; \ media-src 'self'; \ object-src 'none'; \ - script-src 'self' *.google-analytics.com *.googletagmanager.com; \ - style-src 'self' www.youtube.com; \ + script-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com; \ + style-src 'self' 'unsafe-inline' www.youtube.com; \ """ Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() ' Referrer-Policy = 'strict-origin' @@ -28,22 +28,22 @@ cache-control = 'max-age=0, no-cache, no-store, must-revalidate ' [[redirects]] - from = '/fr/**' + from = '/fr/*' status = 404 to = '/fr/404.html' [[redirects]] - from = '/nl/**' + from = '/nl/*' status = 404 to = '/nl/404.html' [[redirects]] - from = '/en/**' + from = '/en/*' status = 404 to = '/en/404.html' [[redirects]] - from = '/**' + from = '/*' status = 404 to = '/en/404.html' diff --git a/exampleSite/data/server.toml b/exampleSite/data/server.toml index 142d51c4..d88a353b 100644 --- a/exampleSite/data/server.toml +++ b/exampleSite/data/server.toml @@ -42,22 +42,22 @@ # toml-docs-start server-custom-404 [[redirects]] - from = '/fr/**' + from = '/fr/*' to = '/fr/404.html' status = 404 [[redirects]] - from = '/nl/**' + from = '/nl/*' to = '/nl/404.html' status = 404 [[redirects]] - from = '/en/**' + from = '/en/*' to = '/en/404.html' status = 404 [[redirects]] # Default language should be last. - from = '/**' + from = '/*' to = '/en/404.html' status = 404 # toml-docs-end server-custom-404 diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index d75d07cf..39ac5f47 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -1,15 +1,628 @@ { "htmlElements": { "tags": [ + "a", + "abbr", + "annotation", + "body", + "button", + "code", + "div", + "em", + "figcaption", + "figure", + "footer", + "form", + "h2", + "h3", "head", + "hr", "html", + "i", + "iframe", + "img", + "input", + "label", + "li", "link", + "mark", + "math", "meta", + "mfrac", + "mi", + "mn", + "mo", + "mrow", + "mspace", + "msqrt", + "msub", + "msup", + "nav", "noscript", + "ol", + "p", + "path", + "pre", "script", - "title" + "semantics", + "small", + "span", + "strong", + "sub", + "sup", + "svg", + "symbol", + "table", + "tbody", + "td", + "th", + "thead", + "time", + "title", + "tr", + "ul", + "use" ], - "classes": null, - "ids": null + "classes": [ + "accordion", + "accordion-body", + "accordion-button", + "accordion-collapse", + "accordion-header", + "accordion-item", + "active", + "alert", + "alert-danger", + "alert-dismissible", + "align-items-center", + "align-items-end", + "align-items-start", + "align-middle", + "align-self-center", + "align-self-end", + "anchor", + "badge", + "ball", + "bg-body", + "bg-body-tertiary", + "bg-danger", + "bg-opacity-10", + "bg-primary", + "bg-primary-subtle", + "bi", + "bi-activity", + "border", + "border-0", + "border-1", + "border-bottom", + "border-end", + "border-none", + "border-start", + "border-top", + "bottom-0", + "bottom-bar", + "breadcrumb", + "breadcrumb-item", + "btn", + "btn-close", + "btn-group", + "btn-light", + "btn-link", + "btn-outline-primary", + "btn-outline-secondary", + "btn-primary", + "btn-secondary", + "btn-sm", + "btn-social", + "card", + "card-block-2", + "card-body", + "card-body-link", + "card-body-margin", + "card-button", + "card-button-link", + "card-container", + "card-container-wrapper", + "card-emphasize", + "card-icon", + "card-img-bg", + "card-img-top", + "card-img-wrap", + "card-text", + "card-title", + "card-zoom", + "carousel", + "carousel-caption", + "carousel-control-next", + "carousel-control-next-icon", + "carousel-control-prev", + "carousel-control-prev-icon", + "carousel-indicators", + "carousel-inner", + "carousel-item", + "checkbox", + "chroma", + "cky-audit-table-element", + "cky-banner-element", + "col", + "col-10", + "col-12", + "col-2", + "col-3", + "col-4", + "col-6", + "col-9", + "col-auto", + "col-lg-2", + "col-lg-4", + "col-lg-8", + "col-md-2", + "col-md-3", + "col-md-4", + "col-md-6", + "col-md-8", + "col-md-9", + "col-md-auto", + "col-sm-12", + "col-sm-3", + "col-sm-6", + "col-sm-9", + "col-xl-10", + "col-xl-2", + "collapse", + "collapsed", + "container", + "container-fluid", + "container-xxl", + "custom", + "d-block", + "d-flex", + "d-grid", + "d-inline", + "d-inline-flex", + "d-lg-block", + "d-md-block", + "d-md-flex", + "d-md-none", + "d-none", + "d-none-dark", + "d-none-light", + "d-sm-block", + "d-sm-none", + "data-table", + "display-1", + "display-4", + "dropdown", + "dropdown-divider-bg", + "dropdown-item", + "dropdown-menu", + "dropdown-menu-end", + "dropdown-toggle", + "emphasis", + "end-0", + "fa", + "fa-10x", + "fa-2x", + "fa-2xs", + "fa-4x", + "fa-activity", + "fa-arrow-left", + "fa-arrow-right", + "fa-bootstrap", + "fa-circle-check", + "fa-code", + "fa-docker", + "fa-ellipsis", + "fa-face-frown", + "fa-facebook", + "fa-fluid", + "fa-fw", + "fa-github", + "fa-globe", + "fa-heart", + "fa-house", + "fa-link", + "fa-linkedin", + "fa-magnifying-glass", + "fa-medium", + "fa-moon", + "fa-rocket", + "fa-share-nodes", + "fa-sort", + "fa-square-check", + "fa-sun", + "fa-up-right-from-square", + "fa-whatsapp", + "fa-wrapper", + "fa-x-twitter", + "fab", + "fade", + "fas", + "figure-caption", + "fixed-top", + "flex-column", + "flex-fill", + "flex-grow-1", + "flex-md-grow-0", + "flex-nowrap", + "flex-row", + "font-monospace", + "footer", + "form-control", + "fs-3", + "fs-5", + "fs-6", + "fs-lg-5", + "fs-md-5", + "fw-30", + "fw-bold", + "fw-semibold", + "g-0", + "g-3", + "g-4", + "gap-1", + "gap-2", + "gradient", + "h-100", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "heading", + "highlight", + "hstack", + "img-fluid", + "img-wrap", + "invisible", + "is-search", + "justify-content-between", + "justify-content-center", + "justify-content-end", + "justify-content-start", + "katex", + "label", + "lead", + "leaflet-map", + "link-bg-body", + "link-bg-body-tertiary", + "link-bg-footer", + "link-primary", + "link-secondary", + "link-success", + "link-warning", + "lottie-animation", + "m-0", + "main-content", + "main-nav-toggler", + "mb-0", + "mb-3", + "mb-5", + "mb-lg-5", + "me-3", + "me-auto", + "middle-bar", + "min-vh-100", + "mode-switch", + "ms-1", + "ms-3", + "ms-auto", + "ms-md-3", + "mt-2", + "mt-3", + "mt-4", + "mt-5", + "mt-auto", + "mt-md-0", + "multi-docs-collapse-15", + "multi-file-collapse-1", + "mx-auto", + "mx-md-0", + "mx-md-2", + "my-2", + "my-4", + "my-auto", + "my-md-0", + "my-md-auto", + "nav", + "nav-item", + "nav-link", + "nav-pills", + "nav-tabs", + "navbar", + "navbar-brand", + "navbar-collapse", + "navbar-container", + "navbar-contrast", + "navbar-expand-md", + "navbar-fixed-top", + "navbar-mode-selector", + "navbar-nav", + "navbar-nav-scroll", + "navbar-title", + "navbar-toggler", + "next", + "no-js", + "order-0", + "order-1", + "order-first", + "order-md-0", + "order-md-1", + "p-0", + "p-1", + "p-2", + "p-3", + "p-4", + "pb-2", + "pb-3", + "pb-4", + "pb-5", + "pb-md-0", + "pe-3", + "pe-5", + "persona", + "position-absolute", + "position-fixed", + "position-relative", + "post-date", + "previous", + "ps-1", + "ps-3", + "pt-1", + "pt-5", + "pt-md-3", + "ptw-3", + "ptw-5", + "ptw-lg-5", + "ptw-sm-4", + "px-2", + "px-4", + "px-xxl-0", + "py-1", + "py-2", + "py-3", + "py-5", + "py-md-1", + "ratio", + "ratio-16x9", + "rounded", + "rounded-2", + "rounded-5", + "rounded-bottom", + "rounded-pill", + "rounded-top", + "row", + "row-cols-1", + "row-cols-2", + "row-cols-lg-3", + "row-cols-md-2", + "row-cols-md-3", + "row-cols-sm-2", + "row-cols-sm-3", + "scrollbar-horizontal", + "search", + "search-input", + "search-suggestions", + "shadow", + "show", + "sidebar-overflow", + "slide", + "small", + "spinner-border", + "start-0", + "start-100", + "start-50", + "sticky-top", + "stretched-link", + "svg-inline--fa", + "syntax-highlight", + "tab-content", + "tab-pane", + "table", + "table-responsive", + "tag-link", + "text-bg-body", + "text-bg-body-tertiary", + "text-bg-info", + "text-bg-primary", + "text-bg-secondary", + "text-bg-success", + "text-bg-warning", + "text-body", + "text-body-secondary", + "text-break", + "text-center", + "text-decoration-none", + "text-end", + "text-info", + "text-muted", + "text-nowrap", + "text-right", + "text-secondary", + "text-sm-start", + "text-start", + "text-uppercase", + "tickmark", + "timeline", + "timeline-bg-dark", + "timeline-connector-end", + "timeline-connector-start", + "timeline-description-text-end", + "timeline-description-text-start", + "timeline-dot", + "timeline-info", + "timeline-panel-end", + "timeline-panel-start", + "timeline-primary", + "timeline-semi-circle-end", + "timeline-semi-circle-start", + "timeline-sm", + "timeline-success", + "timeline-warning", + "toast", + "toast-body", + "toast-container", + "toast-header", + "toc", + "toc-button", + "toc-panel", + "toc-sidebar", + "toggler-icon", + "top-0", + "top-25", + "top-50", + "top-bar", + "translate-middle", + "translate-middle-y", + "video-embedded", + "visually-hidden", + "vr", + "w-100", + "w-50" + ], + "ids": [ + "TableOfContents", + "abbr", + "accordion", + "accordion-0", + "accordion-0-heading-0", + "accordion-0-heading-1", + "accordion-0-heading-2", + "accordion-0-item-0", + "accordion-0-item-1", + "accordion-0-item-2", + "accordéon", + "alert", + "alerte", + "animation", + "badge", + "barre-de-navigation", + "blog", + "body-docs-collapse-15", + "body-file-collapse-1", + "bouton", + "breadcrumb", + "btn-webshare", + "button", + "button-group", + "card", + "card-group", + "carousel", + "carousel-0", + "carrousel", + "carte", + "chronologie", + "cloudinary", + "collapse", + "collapse-1", + "command-prompt", + "cookies-etc", + "custom-activity", + "data-tables", + "docs", + "documentation", + "example", + "exemple", + "fa-face-frown", + "fa-square-check", + "fab-bootstrap", + "fab-docker", + "fab-facebook", + "fab-github", + "fab-linkedin", + "fab-medium", + "fab-whatsapp", + "fab-x-twitter", + "fas-angle-left", + "fas-angle-right", + "fas-angles-left", + "fas-angles-right", + "fas-arrow-left", + "fas-arrow-right", + "fas-circle-check", + "fas-code", + "fas-ellipsis", + "fas-globe", + "fas-heart", + "fas-house", + "fas-link", + "fas-magnifying-glass", + "fas-moon", + "fas-rocket", + "fas-share-nodes", + "fas-sort", + "fas-sun", + "fas-up-right-from-square", + "fichier", + "fil-dariane", + "file", + "footer-docs-collapse-15", + "footer-file-collapse-1", + "formula-katex", + "formule-katex", + "groupe-de-boutons", + "groupe-de-cartes", + "how-do-we-use-cookies", + "how-we-share-your-information", + "icon", + "image", + "imagekitio", + "imgix", + "indicateur-de-chargement", + "infobulle", + "invite-de-commandes", + "language-selector", + "leaflet-map-0", + "lien", + "link", + "lottie-animation-0", + "manage-cookie-preferences", + "map", + "mark", + "nav", + "nav-0", + "nav-0-0", + "nav-0-1", + "nav-0-2", + "nav-0-btn-0", + "nav-0-btn-1", + "nav-0-btn-2", + "navbar", + "navbar-0-collapse", + "navbar-mode", + "navbar-mode-checkbox", + "navbar-sample-collapse", + "navigation", + "notification", + "persona", + "projecten", + "projects", + "projets", + "publication", + "release", + "réduire", + "security", + "spinner", + "sub", + "sup", + "table", + "third-party-links--use-of-your-information", + "timeline", + "toast", + "toast-container", + "toast-copied-code-message", + "toast-example-1", + "toast-example-2", + "toast-message-email-4", + "toc-collapse", + "tooltip", + "types-of-cookies-we-use", + "video", + "vimeo", + "what-are-cookies", + "your-rights", + "youtube" + ] } } diff --git a/hugo_stats.json b/hugo_stats.json index b8b65586..85b0fa5b 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -1,191 +1,7 @@ { "htmlElements": { - "tags": [ - "a", - "body", - "button", - "div", - "footer", - "form", - "head", - "html", - "img", - "input", - "label", - "li", - "link", - "meta", - "nav", - "ol", - "p", - "path", - "script", - "small", - "span", - "strong", - "svg", - "symbol", - "title", - "ul", - "use" - ], - "classes": [ - "active", - "align-items-center", - "align-self-center", - "align-self-end", - "ball", - "bg-body", - "bg-opacity-10", - "bg-primary", - "bottom-0", - "bottom-bar", - "breadcrumb", - "breadcrumb-item", - "btn", - "btn-close", - "btn-primary", - "checkbox", - "col", - "col-12", - "col-6", - "col-md-2", - "col-md-3", - "col-md-4", - "col-md-8", - "col-md-9", - "col-sm-12", - "collapse", - "collapsed", - "container-fluid", - "container-xxl", - "d-flex", - "d-inline", - "d-md-block", - "d-none", - "display-1", - "display-4", - "emphasis", - "end-0", - "fa", - "fa-10x", - "fa-2x", - "fa-book-open", - "fa-ellipsis", - "fa-face-frown", - "fa-fw", - "fa-github", - "fa-linkedin", - "fa-medium", - "fa-moon", - "fa-sun", - "fab", - "fas", - "fixed-top", - "flex-column", - "flex-fill", - "footer", - "form-control", - "fs-3", - "fs-5", - "fw-30", - "fw-bold", - "hstack", - "img-fluid", - "img-wrap", - "invisible", - "is-search", - "justify-content-center", - "justify-content-end", - "justify-content-start", - "label", - "link-bg-footer", - "link-secondary", - "main-content", - "main-nav-toggler", - "me-auto", - "middle-bar", - "min-vh-100", - "mode-switch", - "ms-auto", - "ms-md-3", - "mt-3", - "mt-4", - "mt-5", - "mt-md-0", - "mx-auto", - "mx-md-0", - "my-auto", - "my-md-auto", - "nav-item", - "nav-link", - "navbar", - "navbar-brand", - "navbar-collapse", - "navbar-container", - "navbar-expand-md", - "navbar-fixed-top", - "navbar-mode-selector", - "navbar-nav", - "navbar-toggler", - "no-js", - "order-0", - "order-1", - "order-md-0", - "order-md-1", - "p-0", - "p-2", - "p-3", - "p-4", - "pb-4", - "pb-md-0", - "position-fixed", - "position-relative", - "ps-1", - "pt-4", - "pt-5", - "pt-md-3", - "px-4", - "px-xxl-0", - "py-3", - "rounded", - "row", - "row-cols-1", - "row-cols-2", - "row-cols-md-2", - "row-cols-sm-3", - "search", - "search-input", - "search-suggestions", - "shadow", - "svg-inline--fa", - "text-center", - "text-decoration-none", - "text-muted", - "text-secondary", - "text-sm-start", - "text-start", - "toast", - "toast-body", - "toast-container", - "toast-header", - "toggler-icon", - "top-bar" - ], - "ids": [ - "fa-face-frown", - "fab-github", - "fab-linkedin", - "fab-medium", - "fas-book-open", - "fas-ellipsis", - "fas-moon", - "fas-sun", - "navbar-0-collapse", - "navbar-mode", - "navbar-mode-checkbox", - "toast-container", - "toast-copied-code-message" - ] + "tags": null, + "classes": null, + "ids": null } } diff --git a/netlify.toml b/netlify.toml index 20159d2c..137c3bc2 100644 --- a/netlify.toml +++ b/netlify.toml @@ -39,17 +39,17 @@ Access-Control-Allow-Origin = '*' Content-Security-Policy = """ base-uri 'self'; \ - connect-src 'self' *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ + connect-src 'self' *.cookieyes.com cdn-cookieyes.com *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \ default-src 'none'; \ font-src 'self' fonts.gstatic.com; \ form-action 'self'; \ frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \ - img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \ + img-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \ manifest-src 'self'; \ media-src 'self'; \ object-src 'none'; \ - script-src 'self' *.google-analytics.com *.googletagmanager.com; \ - style-src 'self' www.youtube.com; \ + script-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com; \ + style-src 'self' 'unsafe-inline' www.youtube.com; \ """ Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() ' Referrer-Policy = 'strict-origin' @@ -60,22 +60,22 @@ cache-control = 'max-age=0, no-cache, no-store, must-revalidate ' [[redirects]] - from = '/fr/**' + from = '/fr/*' status = 404 to = '/fr/404.html' [[redirects]] - from = '/nl/**' + from = '/nl/*' status = 404 to = '/nl/404.html' [[redirects]] - from = '/en/**' + from = '/en/*' status = 404 to = '/en/404.html' [[redirects]] - from = '/**' + from = '/*' status = 404 to = '/en/404.html'