Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Release 2.0.2

Latest
Compare
Choose a tag to compare
@uPagge uPagge released this 18 Mar 14:56
· 70 commits to master since this release

The next release will affect global markup. I am converting all the code to the html5 standard and semantic markup.

Change

The next release will affect global markup. I am converting all the code to the html5 standard and semantic markup

Twitter Card

The default hugo shortcode for twitter has a problem ({{- template "_internal/twitter_cards.html" . -}}). If you suddenly decide to use an image for the preview that is more than 4096x4096 pixels, then the picture will simply not be uploaded by twitter. I have opened a related issue in the hugo repository: gohugoio/hugo#8315

Until they fixed this point, I made my own Twitter card. The image in it is automatically reduced to 4096x4096 pixels if it is greater than these values

New features

Мessage to adblock users

If you use Google ads, and the user uses adblock, then instead of advertising you can show him some kind of message, for example, I show a message about where you can donate to me, by the way, this can be done at http://paypal.me/upagge: )

params:
  advertising:
    adblockHtml: Your text, can be in html format

Other

  • I got rid of the html validation error completely. Now at least your home page will be completely valid.
  • Fixed the code for Yandex metrics, and also added the ability to enable the webvisor
  • Now icons are added with span tag instead of i.