This file contains 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
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
{{ range .Data.Pages }} | |
{{ if not .Params.private }} | |
<url> | |
<loc>{{ .Permalink }}</loc> | |
<lastmod>{{ safeHtml ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }} | |
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }} | |
<priority>{{ .Sitemap.Priority }}</priority>{{ end }} | |
</url> | |
{{ end }} |
This file contains 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
[[Object]] | |
Name= "site" | |
[[Object.Field]] | |
Name = "domain" | |
Type = "string" | |
[[Object]] | |
Name= "picture" | |
[[Object.Field]] |
This file contains 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/bash | |
######################################################### | |
mgUSERNAME="MailGun Username" | |
mgPASSWORD="COMPLEX PASSWORD" | |
testEmail="[email protected]" | |
######################################################### | |
echo "Installing this agent may be dangerous, make sure this is the correct server!" |
This file contains 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
#!/usr/bin/env bash | |
# | |
# Example usage: | |
# | |
# $ VERSION=1.2.2 sudo ./goinst.sh | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi |