Ajout de template pour css, html et sh
This commit is contained in:
parent
0717b586f9
commit
50128c28c7
15
data/tpl/header-css.tpl
Normal file
15
data/tpl/header-css.tpl
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Reset (Source: https://css-tricks.com/notes-on-josh-comeaus-custom-css-reset/)
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
img, picture, video, canvas, svg {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
p, h1, h2, h3, h4, h5, h6 {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
12
data/tpl/header-html.tpl
Normal file
12
data/tpl/header-html.tpl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang='fr'>
|
||||||
|
<head>
|
||||||
|
¦ <meta charset='utf-8'>
|
||||||
|
¦ <title>Title</title>
|
||||||
|
¦ <link rel='stylesheet' href='style.css'>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<script src='myScript.js'></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
6
data/tpl/header-sh.tpl
Normal file
6
data/tpl/header-sh.tpl
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# exit on error
|
||||||
|
set -e
|
||||||
|
# no undefined variables
|
||||||
|
set -u
|
Loading…
x
Reference in New Issue
Block a user