tgrk / website

Personal Site using Hugo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hugo based website

Publish new content

$ hugo new post/my-new-post.md $ hugo

Development with reload

$ hugo server

Update hugo

$ cd ~/Projects/libs $ git clone https://github.com/gohugoio/hugo.git $ cd hugo $ go install --tags extended

Theme customizations

Fetch submodules $ git submodule update --init --recursive

/layouts/partials/footer.html

<!-- Ybug code -->
<script type='text/javascript'>
  (function () {
    window.ybug_settings = { "id": "b2cg6w01cs" };
    var ybug = document.createElement('script'); ybug.type = 'text/javascript'; ybug.async = true;
    ybug.src = 'https://ybug.io/api/v1/button/' + window.ybug_settings.id + '.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ybug, s);
  })();
</script>
<!-- Ybug code end -->
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b23f55f..13da3e3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -47,3 +47,13 @@ var _hmt = _hmt || [];
 })();
 </script>
 {{ end }}
+<!-- Ybug code -->
+<script type='text/javascript'>
+  (function () {
+    window.ybug_settings = { "id": "b2cg6w01cs" };
+    var ybug = document.createElement('script'); ybug.type = 'text/javascript'; ybug.async = true;
+    ybug.src = 'https://ybug.io/api/v1/button/' + window.ybug_settings.id + '.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ybug, s);
+  })();
+</script>
+<!-- Ybug code end -->

About

Personal Site using Hugo