Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraustingebauer <gebauer.austin@gmail.com>2019-11-10 23:55:51 +0300
committeraustingebauer <gebauer.austin@gmail.com>2019-11-10 23:55:51 +0300
commit0f9c01fbdb428a88cc7b1c82186b893df22c1d04 (patch)
treea9289a53b001f10b64aca7d6050d11670e7ed0f8
parent71e1410448752e295b9c2fb005a226220f46c58c (diff)
feat: add google analytics template to theme
-rw-r--r--Makefile8
-rw-r--r--config.toml7
m---------public0
-rw-r--r--themes/ag/layouts/partials/head.html6
-rw-r--r--themes/ag/theme.toml2
5 files changed, 10 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 9b3e6d8..f10bdf8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,9 @@ THEME_DIR = themes/ag
server:
hugo server --watch --verbose --cleanDestinationDir --disableFastRender
-package:
- npm run --prefix $(THEME_DIR) build
-
dev: build
npm run --prefix $(THEME_DIR) watch
-build: package
- hugo \ No newline at end of file
+build:
+ npm run --prefix $(THEME_DIR) build
+ hugo
diff --git a/config.toml b/config.toml
index 93e10e1..6d53ea9 100644
--- a/config.toml
+++ b/config.toml
@@ -1,9 +1,10 @@
-baseURL = "http://example.com/"
+baseURL = "http://austingebauer.com/"
languageCode = "en-us"
-title = "austing.dev"
+title = "austingebauer"
theme = "ag"
relativeURLs = true
enableEmoji = true
+googleAnalytics = "UA-150288366-2"
# Use syntax highlighting of the theme
pygmentsUseClasses = false
@@ -24,4 +25,4 @@ pygmentsOptions = "linenos=table"
identifier = "tags"
name = "Tags"
url = "/tags/"
- weight = 120 \ No newline at end of file
+ weight = 120
diff --git a/public b/public
-Subproject eed9f3e7cb1b522ffe0b3d632991b4bfae5a459
+Subproject df52712c69c8d8530953008b010a26e042690a8
diff --git a/themes/ag/layouts/partials/head.html b/themes/ag/layouts/partials/head.html
index 12fa9c0..52e9674 100644
--- a/themes/ag/layouts/partials/head.html
+++ b/themes/ag/layouts/partials/head.html
@@ -3,7 +3,5 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="/css/theme.css"/>
- {{ range .AlternativeOutputFormats -}}
- {{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
- {{ end -}}
-</head> \ No newline at end of file
+ {{ template "_internal/google_analytics.html" . }}
+</head>
diff --git a/themes/ag/theme.toml b/themes/ag/theme.toml
index 30075a2..d8056de 100644
--- a/themes/ag/theme.toml
+++ b/themes/ag/theme.toml
@@ -12,4 +12,4 @@ min_version = "0.41"
[author]
name = "Austin Gebauer"
- homepage = "austingebauer.me"
+ homepage = "austingebauer.com"