Commit graph

10 commits

Author SHA1 Message Date
Jimmy Cai
3e8490da1d
fix: incorrect image & menu path for site hosted in subdir (#168) 2021-03-07 13:13:07 +01:00
Jimmy Cai
79412144d9
fix: disable svg image processing (#144)
* fix: disable svg image processing

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/132

* style: remove extra blank space
2021-02-13 12:57:19 +01:00
Jimmy Cai
f0b3617ec4
fix(helper/image): add support for relative linked image 2020-09-12 22:14:32 +02:00
Jimmy Cai
2079174aa9
style(helper/image): code formatting 2020-09-11 18:13:39 +02:00
Jimmy Cai
2acd380e98
feat(helper/image): customize field used to get featured image 2020-09-11 17:54:16 +02:00
Jimmy Cai
a2662603df
feat(helper/image): new way to set default image 2020-09-11 16:27:23 +02:00
Jimmy Cai
cfd4cdb731
feat(helper/image): new return format 2020-09-11 16:01:01 +02:00
Jimmy Cai
3e18e165e0
feat(helper/image): better detection of external image
By using strings.HasPrefix, it matches any images which name starts with http
2020-09-10 23:24:19 +02:00
Jimmy Cai
28c06ef8ae
feat(helper/image): new image helper (WIP) 2020-09-10 18:53:36 +02:00
Jimmy Cai
c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00