-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Algolia Search Support && Gallery Mode #329
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously, I added this feature so that you can insert videos just like inserting images in Markdown. Now, I think this function is useless.
this commit also let image hosting support `Param.images`.
* Add:Article sharing function * Add:Article sharing function-style revise(样式调整) * Mod:remove: share on google,add: share on telegram * mod:add config.toml-ShareTelegram * fix:telegram icon class * style: delete some spaces, rename some params ... adjust some positions, fix some typos * refactor: use flexbox layout * feat: support `share` in Front Matter * i18n * refactor: post-share.html * feat: support douban, qzone * feat: add brand color * feat: support qrcode Co-authored-by: reuixiy <[email protected]>
this commit also let CSS of `shareViaQRCode` load on demand.
``` sudo pacman -S python-fonttools sudo npm install -g fontmin ttf2woff2 pyftsubset glyph-correction.ttf --text="…—•·" mv glyph-correction.subset.ttf glyph-correction.ttf fontmin glyph-correction.ttf cd build rm glyph-correction.css glyph-correction.svg cat glyph-correction.ttf | ttf2woff2 >> glyph-correction.woff2 ``` https://github.com/fonttools/fonttools https://github.com/ecomfe/fontmin https://github.com/nfroidure/ttf2woff2
up to date
up to date
Algolia search
Algolia search
We must add -webkit-backdrop-filter into this condition, otherwise our backdrop style won't be visible on iOS, because webkit doesn't support backdrop-filter without the -webkit prefix, which makes this old condition true, then background-color is appended, then backdrop-filter becomes invisible.
To configure the Yandex.Metrika counter, please specify `yandexMetrikaId` parameter with you y.metrika Id in your config.toml.
This commit also made some code position adjustments for last commit.
…nto reuixiy-master
reuixiy
reviewed
May 21, 2021
稍微看了一下,修改如下
|
ulmefors
pushed a commit
to ulmefors/hugo-theme-meme
that referenced
this pull request
Jan 22, 2024
updates reuixiy#222 Co-authored-by: reuixiy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
之前两个pr 因为不小心合在了一起所以只好一起提一下了
Algolia Search
原有的 lunrjs 利用本地json进行索引,但是由于不支持中文,不是很友好。因此又接了用得比较广泛的 algolia 索引,调用它的 instant-search.js 来实现,其免费额度对于大部分人应该够用了。
Gallery Mode
As said before, 这个模式是支持博客文章图片以图库模式展示的,使用第三方插件 来实现的。点击图片后,全屏以轮播图形式展示内容