✨ Added html5 layout as well
This commit is contained in:
parent
bc02d53d49
commit
af48c4139e
2 changed files with 27 additions and 0 deletions
|
|
@ -226,6 +226,15 @@ matches:
|
||||||
params:
|
params:
|
||||||
cmd: "curl ifconfig.me ; echo ''"
|
cmd: "curl ifconfig.me ; echo ''"
|
||||||
|
|
||||||
|
# returns default html5 layout
|
||||||
|
- trigger: ";html5"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "~/scripts/html5 ; echo ''"
|
||||||
|
|
||||||
# returns default html5 layout in pug
|
# returns default html5 layout in pug
|
||||||
- trigger: ";pug5"
|
- trigger: ";pug5"
|
||||||
replace: "{{output}}"
|
replace: "{{output}}"
|
||||||
|
|
|
||||||
18
scripts/html5
Executable file
18
scripts/html5
Executable file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Utilize in conjunction with espanso, call ;html5
|
||||||
|
cat <<EOM
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>html page</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="icon" type="image/x-icon" href="favicon.png">
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
<script src="./index.js" default></script>
|
||||||
|
</html>
|
||||||
|
EOM
|
||||||
Loading…
Add table
Add a link
Reference in a new issue