Commit Graph

103 Commits

Author SHA1 Message Date
rainbowpigeon 51eb84391b
Fix 'undefined' href in search results without highlight
If enableSearchHighlight = false is set in params.toml,
populated search results will use the makeLi function to set href to obj.item.permalink as opposed to obj.item.uri when the makeHighlightLi function is used.
obj.item.permalink used will result in undefined attribute and invalid links.
2021-05-03 17:29:31 +08:00
zzossig 6258d4dde5 new param: searchThreshold 2021-04-21 03:53:59 +09:00
zzossig 272be8ac88 2 more search options: searchContent, searchDistance 2021-04-20 04:46:56 +09:00
zzossig d694f16750 about page support table, codeblock, clipboard
#345
2020-11-05 13:59:19 +09:00
zzossig bdcf6190fb theme name change bug fixed
#334
2020-10-26 11:17:37 +09:00
zzossig ed920bdd6d search bug fix 2020-10-26 01:02:28 +09:00
zzossig 5acd0525b6 offset an html anchor, anchor copy icon changed, footer links flex 2020-10-24 22:07:02 +09:00
zzossig f09f6d8a1e readme changed, fix some css 2020-10-20 22:51:02 +09:00
zzossig 11e7081662 gallery fixes, new params
gallery folder check logic added
fix #326
fix #317
appbarSearchIcon = true
appbarLangIcon = true
2020-10-16 12:04:47 +09:00
zzossig 0decc1bce4 js asset libraries version update, i18n options for theme-name, new header option
hideHomeHeaderWhenMobile option added
2020-10-12 14:08:21 +09:00
zzossig 6757d0f3b1 [bug fix] publication search
fixed where the search index couldn't be found
2020-07-01 06:00:37 +09:00
zzossig 6229f7fe20 [bug fix] cite.bib not found
fix #293 fix #295
2020-06-30 23:22:41 +09:00
zzossig 5364fc098c
Merge pull request #295 from rahatzamancse/fix-empty-string-json
Fixed empty string parse error in meta_json_id.html
2020-06-30 22:10:37 +09:00
zzossig 80f1143d9b [bug fix] search index
fix #292
2020-06-30 21:59:54 +09:00
Rahat Zaman 6af870a034 Fixed empty string parse error in meta_json_id.html
Hugo throws error while building if I do not give any description. Because the description were becoming only `"description": ,` which is invalid. FIxed it by wraping which will give `"description": "",` which is valid.
2020-06-30 12:31:29 +06:00
zzossig 59c481b068 [enhancement] Don't include fuse.js file when search diabled
fix #253
2020-06-11 14:07:09 +09:00
zzossig 7dff0a3f08 [bug fix] Don't initialize search when disabled
fix #253
2020-06-11 14:02:09 +09:00
zzossig f321503b94 [bug fix] heavy search index
fix #251 #252
2020-06-11 13:40:36 +09:00
zzossig 4c77300eeb twitterTimeline shortcode added
#240
2020-04-02 09:48:57 +09:00
Nishant Srivastava 5dd7ec5263 remove the if staments 2020-03-03 23:02:51 +01:00
Nishant Srivastava 1faef362e3 fix issue with tags/keywords not set 2020-03-03 22:20:23 +01:00
Marcin Zajączkowski 85f42c395e Use tags as keywords if keywords not defined
Very often keywords are not defined at all, so it's better
to reuse tags that nothing (omitting the fact if keywords
are used by anything).
2020-03-03 11:00:44 +01:00
Marcin Zajączkowski 95e4721c2b Use canonicalUrl parameter for canonical tag in meta headers
If defined. Fallback to .Permalink as before.
2020-02-27 23:09:01 +01:00
zzossig 9d3941ef31 meta image bug fix 2020-02-25 10:22:55 +09:00
zzossig b071b05f35 #200
featuredImage shortcode added, image front-matter used as default value of meta-image

{{< featuredImage >}}
2020-02-25 00:34:45 +09:00
zzossig d7e012c02d search scope includes content 2020-02-21 10:18:17 +09:00
zzossig 71e457e19e better mobile navbar complete 2020-02-20 23:08:34 +09:00
zzossig fca3071e3e better mobile navbar 2020-02-20 19:08:38 +09:00
Marcin Zajączkowski bcd07daf9b Send optional favicons only if provided
For instance always sending logo.svg link at the last position breaks
displaying favicon in Firefox if that file is missing (even if
previously precised png is available).
2020-02-18 18:28:25 +01:00
zzossig 8575c09630 support weight front-matter, meta color change dynamically, 2020-02-19 01:28:18 +09:00
zzossig f933e10cd3 meta color added 2020-02-18 22:11:46 +09:00
zzossig 7e4098210d theme color param for meta tag 2020-02-18 19:05:28 +09:00
zzossig a447d1561c [new option] tocLevels
Sometimes, toc doen't work correctly. This option fixes the issue.
2020-02-13 11:11:33 +09:00
zzossig b17da60cb1 Init search index before make it 2020-02-11 21:26:28 +09:00
zzossig bad32c9006 [new feature] footer link support, google tag manager support, contact getform support 2020-02-10 18:12:52 +09:00
zzossig e9ceb3250c [chore] var naming problem fix 2020-02-08 23:48:40 +09:00
zzossig d7c9185329 search click bug fix 2020-02-08 22:52:58 +09:00
zzossig 556770af2e publication overview page, search completed 2020-02-08 18:54:54 +09:00
zzossig 7c549e0d5a [new feature] search result positioning 2020-02-07 11:08:14 +09:00
zzossig 03a1bf2f59 search logic changed - prepare search result position 2020-02-07 01:19:25 +09:00
zzossig 8e6013a964 search logic changed to use .Permalink 2020-02-06 11:18:23 +09:00
zzossig d388f182bd search index rollback 2020-02-06 03:56:15 +09:00
zzossig 425cbb5781 search index rollback 2020-02-06 03:52:41 +09:00
zzossig 5f7b9aafb4 publication page completed 2020-02-06 02:23:27 +09:00
zzossig 41a5773d2e [bug fix] search enter, single pagination 2020-02-03 10:59:33 +09:00
zzossig 21738fb572 twitter meta tag added 2020-02-01 17:42:11 +09:00
zzossig cc53aac1f5 meta_image front matter added 2020-02-01 15:02:13 +09:00
zzossig e30aa48d2c share button(telegram, whatsapp) added, some meta tags added, featured_image deprecated, xmpp, matrix icon added
share button(telegram, whatsapp) added, some meta tags added, featured_image deprecated, xmpp, matrix icon added
2020-02-01 03:51:37 +09:00
zzossig 80f7a5c6bc [new feature] TOC folding option 2020-01-31 15:06:30 +09:00
zzossig 05d80f34c1 mobile search ui bug fix, script clean up 2020-01-29 09:55:11 +09:00