Skip to content

Instantly share code, notes, and snippets.

<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 }}
[[Object]]
Name= "site"
[[Object.Field]]
Name = "domain"
Type = "string"
[[Object]]
Name= "picture"
[[Object.Field]]
#!/bin/bash
#########################################################
mgUSERNAME="MailGun Username"
mgPASSWORD="COMPLEX PASSWORD"
testEmail="user@example.com"
#########################################################
echo "Installing this agent may be dangerous, make sure this is the correct server!"
@denkhaus
denkhaus / goinst.sh
Last active August 29, 2015 14:01 — forked from jmervine/goinst.sh
#!/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