https://github.com/tgrk/website
Personal Site using Hugo
https://github.com/tgrk/website
Last synced: 3 days ago
JSON representation
Personal Site using Hugo
- Host: GitHub
- URL: https://github.com/tgrk/website
- Owner: tgrk
- Created: 2017-06-25T13:40:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T16:50:53.000Z (3 months ago)
- Last Synced: 2025-04-02T17:40:00.921Z (3 months ago)
- Size: 3.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`
```html
(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);
})();```
```diff
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 || [];
})();
{{ end }}
+
+
+ (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);
+ })();
+
+
```