Commit graph

5 commits

Author SHA1 Message Date
Simon Guest
955bb8dd7f
feat(shortcodes): add quote shortcode, and example (#414)
* Add quote shortcode, and example

* Use trim to improve whitespace

* Allow for quote with neither author nor source

* Format code and move quote.scss to article.scss

This style is only used on the article page, so it makes more sense to have it there.

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-08 17:59:23 +02:00
Jimmy Cai
d75dbe2b6e
fix: copy code button does not work when line number is enabled (#487)
* fix: copy code button does not work when line number is enabled

* fix pre style

* Add gist shortcode to exampleSite
2022-02-06 20:32:37 +01:00
zhixuan
57bfea8338
fix(shortcodes): mixed content error with bilibili and tencent video (#365) 2021-09-24 20:32:53 +02:00
Jimmy Cai
d6b0f10241 fix(exampleSite): remove Instagram shortcode
ref https://github.com/gohugoio/hugo/issues/7866

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/41
2020-10-26 17:38:16 +01:00
Jimmy Cai
292e96d764
feat(exampleSite): add featured images from Unsplash for demo site 2020-09-06 00:43:51 +02:00