init project
This commit is contained in:
5
layouts/partials/footer.html
Normal file
5
layouts/partials/footer.html
Normal file
@ -0,0 +1,5 @@
|
||||
<footer class="mt-auto text-white-50">
|
||||
<p>
|
||||
Réalisé avec ❤️ par <a href="https://weko.io/">Weko</a> et hébergé par <a href="https://resilien.fr/">RésiLien</a> 🐱 de façon éco‑responsable 🍃
|
||||
</p>
|
||||
</footer>
|
5
layouts/partials/head.html
Normal file
5
layouts/partials/head.html
Normal file
@ -0,0 +1,5 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ i18n "title" }}</title>
|
||||
<meta name="description" content="{{ i18n "description" }}">
|
12
layouts/partials/header.html
Normal file
12
layouts/partials/header.html
Normal file
@ -0,0 +1,12 @@
|
||||
<header class="mb-auto">
|
||||
<div>
|
||||
<h3 class="float-md-start mb-0">PDF-Editor</h3>
|
||||
{{/*
|
||||
<nav class="nav nav-masthead justify-content-center float-md-end">
|
||||
<a class="nav-link fw-bold py-1 px-0 active" aria-current="page" href="#">Home</a>
|
||||
<a class="nav-link fw-bold py-1 px-0" href="#">Features</a>
|
||||
<a class="nav-link fw-bold py-1 px-0" href="#">Contact</a>
|
||||
</nav>
|
||||
*/}}
|
||||
</div>
|
||||
</header>
|
5
layouts/partials/scripts.html
Normal file
5
layouts/partials/scripts.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ $built := resources.Get "scripts/main.js" }}
|
||||
<script src="{{ $built.RelPermalink }}"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.6.172/pdf.min.js" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.6.172/pdf.worker.min.js" crossorigin="anonymous"></script>
|
5
layouts/partials/styles.html
Normal file
5
layouts/partials/styles.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ $css := resources.Get "styles/main.scss" | toCSS | postCSS }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $css = $css | minify | fingerprint | resources.PostProcess }}
|
||||
{{ end }}
|
||||
<link data-production="{{ hugo.IsProduction }}" rel="stylesheet" href="{{ $css.RelPermalink }}">
|
Reference in New Issue
Block a user