Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tgrk/website
Personal Site using Hugo
https://github.com/tgrk/website
Last synced: 17 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T21:41:50.000Z (10 months ago)
- Last Synced: 2024-01-18T20:38:48.230Z (10 months ago)
- Size: 3.21 MB
- Stars: 0
- Watchers: 2
- 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);
+ })();
+
+
```