This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# region settings | |
# BUILD/DEPLOY SETTINGS - edit as needed for your use case | |
PUB_SUBMODULE="public" # name of output folder where git submodule is located | |
IGNORE_FILES=". .. .git CNAME" # space-delimited array of files to protect when 'fresh' option is used | |
DEV_BRANCHES="dev dev" # development branches to build on and push to, 1-root, 2-pubmodule | |
PROD_BRANCHES="master master" # production branches to build on and push to, 1-root, 2-pubmodule | |
# endregion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- layouts/shortcodes/mailgo.html --> | |
{{ if .Get 1 }} | |
<span class="icon-link"> | |
<a href="#mailgo" data-address="{{ .Get 0 }}" data-domain="{{ .Get 1 }}" > | |
<img src="/icon/mailgo.png" alt="mailgo" {{ with .Get 2 }} height="{{ . }}" {{ end }} /> | |
</a> | |
<script src="https://cdn.jsdelivr.net/npm/mailgo@[VERSION]/dist/mailgo.min.js"></script> | |
</span> |