This template repository includes preconfigured GitHub Action that will validate html files in a project with (HTMLProofer)[https://github.com/gjtorikian/html-proofer/]. And htmx to load partials
<main
data-hx-trigger="load"
data-hx-swap="outerHTML"
data-hx-get="index.main.partial.html"
></main>function init() {
import("...js");
}
const totalPartials = document.querySelectorAll(
'[hx-trigger="load"], [data-hx-trigger="load"]'
).length;
let loadedPartialsCount = 0;
document.body.addEventListener("htmx:afterOnLoad", () => {
loadedPartialsCount++;
if (loadedPartialsCount === totalPartials) init();
});Add the data-proofer-ignore attribute to any tag to ignore it from every check.
<a href="https://notareallink" data-proofer-ignore>Not checked.</a>#team
- Oleksandr Drozhcha
- Markiian Harasym
- Vitalii Demkiv
- Andrii Mykhanyshyn
- Alina Kolomiitseva
- Oleh Kovalenko
- Anton Kostin
- Artur Oleksiuk
- Oleksandr Dmukhovskyi
- Anastasiia Platonova
- Maksym Mysko