Age | Commit message (Collapse) | Author |
|
* Support Google Analytics 4 using hugo internal template
Use https://gohugo.io/templates/internal/#google-analytics
in footer partial. Update sample-config.toml; googleAnalytics
now needs to be top level rather than under [params] for the
internal template to work. This might be a concern for folks
upgrading their Hugo-Octopress theme.
Fixes: #75
* remove duplicate google analytics tag from header
It's already in the footer, and
https://gohugo.io/templates/internal/#use-the-google-analytics-template
states that "The async template is not suitable for Google Analytics 4."
which is the non-depracated version of GA.
Keep the sync script in the footer to not block page loading.
|
|
We can now have a custom favicon. Edited the readme and the sample
config to add this new information.
Removed the sample-config pasted in the readme, the file is better
and has more options.
The exampleSite directory contained the Hugo generated resources
directory, added it to the .gitignore file.
|
|
Makes it easier to update the order of the social media icons.
|
|
Removed my own links from the sample config and readme.
Added Mastodon to the readme.
Removed the `if` for the FontAwesome vs. ForkAwesome icon for
keybase, we can use fa-keybase in both.
|
|
|
|
```log
failed to render pages: render of "page" failed: execute of template failed: template: myarchivetype/single.html:7:5: executing "myarchivetype/single.html" at <partial "classic_index.html" .>: error calling partial: execute of template failed: template: _internal/pagination.html:21:17: executing "_internal/pagination.html$htmltemplate_stateHTMLCmt" at <$page.Paginator.TotalPages>: error calling TotalPages: runtime error: invalid memory address or nil pointer dereference
```
|
|
|
|
* switch to markdown markup in the config file
* some minor changes in readme
|
|
|
|
commit 77e6b30fe896d2f49798bcada4b511ffe119adb2
Author: parsiya <parsiya@users.noreply.github.com>
Date: Sun Feb 14 22:30:52 2021 -0800
fix typo in readme
commit 6e0cc9d4b90fce7062ca5e6e51510f4b76c7de9e
Author: parsiya <parsiya@users.noreply.github.com>
Date: Sun Feb 14 21:57:00 2021 -0800
remove the theme's disqus shortcode and use the internal one, fixes #65
|
|
|
|
|
|
deprecated .Hugo, stopped using .RSSLink (#58)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
work with Chroma highlighting
|
|
|
|
|
|
|
|
|
|
|
|
* Add mobile navigation to CSS and navigation partial (needs JavaScript)
|
|
|
|
* Added piwik support
* Added piwik to readme
* Hopefully fixed piwik
* Added DocumentTitle to Piwik Tracking
|
|
|
|
Fixes #35.
* Fix isset for 404. notFoundHeader and notFoundText should customize 404 again.
* Fix isset issue "continue reading." continueReadingText should customize it again.
* Fix isset issue for sidebarMenuHeader and general sidebar cleanup.
* The isset for toc is working properly because everything is lower case.
* Although tags had no issues with isset (it is alwaus lowercase) I switched it to with anyways.
However, .Params.tags is not visible inside so I had to use scratch
* Removed isset and used "with" for tag pages.
|
|
Apparently, .Site.Params stores everything in lower case
so isset of a mixed case string will never find anything. Switch
to using with as recommended by
https://discuss.gohugo.io/t/config-params-should-be-all-lowercase-or-not/5051/2
|
|
This was most likely because Hugo's internal disqus shortname is the same as
my custom variable because they were both disqusShortname.
The theme now uses Hugo's internal variable.
README and sample-config have also been updated to reflect this.
|
|
|
|
Now we can link our gitlab repo as well.
|
|
gitlab icon is not available in fa 4.3.0
|
|
|
|
|
|
|
|
|
|
|