Skip to content

Commit

Permalink
🎉auto update by Gmeek action
Browse files Browse the repository at this point in the history
  • Loading branch information
cao-gift committed Jul 16, 2024
1 parent d70e9df commit 92e1eb7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 星源笔记 :link: https://blog.freeblock.cn
### :page_facing_up: [13](https://blog.freeblock.cn/tag.html)
### :speech_balloon: 0
### :hibiscus: 53257
### :alarm_clock: 2024-07-16 17:06:02
### :hibiscus: 53265
### :alarm_clock: 2024-07-16 17:08:15
### Powered by :heart: [Gmeek](https://github.com/Meekdai/Gmeek)
5 changes: 3 additions & 2 deletions backup/图片缩放功能代码.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
在文章最后添加如下代码,就可以实现这个功能。

`<!-- ##{"script":"<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/lightbox.min.css'><script src='https://cdn.jsdelivr.net/gh/lokesh/[email protected]/dist/js/lightbox-plus-jquery.min.js'></script><script>var imgLinks=document.querySelectorAll('a > img');imgLinks.forEach(function(imgLink){imgLink.parentElement.setAttribute('data-lightbox','images');});lightbox.init();</script>"}## -->`
...
`<!-- ##{"script":"<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/lightbox.min.css'><script src='https://cdn.jsdelivr.net/gh/lokesh/[email protected]/dist/js/lightbox-plus-jquery.min.js'></script><script>var imgLinks=document.querySelectorAll('a > img');imgLinks.forEach(function(imgLink){imgLink.parentElement.setAttribute('data-lightbox','images');});lightbox.init();</script>"}## -->`
...
2 changes: 1 addition & 1 deletion blogBase.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions docs/post/10.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ <h1 class="postTitle">图片缩放功能代码</h1>
</div>
</div>
<div id="content">
<div class="markdown-body" id="postBody"><p>在文章最后添加如下代码,就可以实现这个功能。</p>
<p><code class="notranslate">&lt;!-- ##{"script":"&lt;link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/lightbox.min.css'&gt;&lt;script src='https://cdn.jsdelivr.net/gh/lokesh/[email protected]/dist/js/lightbox-plus-jquery.min.js'&gt;&lt;/script&gt;&lt;script&gt;var imgLinks=document.querySelectorAll('a &gt; img');imgLinks.forEach(function(imgLink){imgLink.parentElement.setAttribute('data-lightbox','images');});lightbox.init();&lt;/script&gt;"}## --&gt;</code></p></div>
<div class="markdown-body" id="postBody"><p>在文章最后添加如下代码,就可以实现这个功能。<br>
...<br>
<code class="notranslate">&lt;!-- ##{"script":"&lt;link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/lightbox.min.css'&gt;&lt;script src='https://cdn.jsdelivr.net/gh/lokesh/[email protected]/dist/js/lightbox-plus-jquery.min.js'&gt;&lt;/script&gt;&lt;script&gt;var imgLinks=document.querySelectorAll('a &gt; img');imgLinks.forEach(function(imgLink){imgLink.parentElement.setAttribute('data-lightbox','images');});lightbox.init();&lt;/script&gt;"}## --&gt;</code><br>
...</p></div>
<div style="font-size:small;margin-top:8px;float:right;">❤️ 转载文章请注明出处,谢谢!❤️</div>

</div>
Expand Down Expand Up @@ -98,6 +100,6 @@ <h1 class="postTitle">图片缩放功能代码</h1>


</script>
<script src='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/medium-zoom/1.1.0/medium-zoom.min.js'></script><script>var imgLinks = document.querySelectorAll('a > img');imgLinks.forEach(function(imgLink){var parentLink = imgLink.parentElement;parentLink.parentNode.insertBefore(parentLink.removeChild(imgLink), parentLink);parentLink.parentNode.removeChild(parentLink);});mediumZoom('img');</script><link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/lightbox.min.css'><script src='https://cdn.jsdelivr.net/gh/lokesh/[email protected]/dist/js/lightbox-plus-jquery.min.js'></script><script>var imgLinks=document.querySelectorAll('a > img');imgLinks.forEach(function(imgLink){imgLink.parentElement.setAttribute('data-lightbox','images');});lightbox.init();</script>
<script src='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/medium-zoom/1.1.0/medium-zoom.min.js'></script><script>var imgLinks = document.querySelectorAll('a > img');imgLinks.forEach(function(imgLink){var parentLink = imgLink.parentElement;parentLink.parentNode.insertBefore(parentLink.removeChild(imgLink), parentLink);parentLink.parentNode.removeChild(parentLink);});mediumZoom('img');</script>

</html>
2 changes: 1 addition & 1 deletion docs/postList.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"P16": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u56fd\u5185\u5916\u514d\u8d39\u4e91\u6570\u636e\u5e93\u6c47\u603b", "postUrl": "post/16.html", "createdDate": "2024-07-12", "dateLabelColor": "#bc4c00"}, "P15": {"labels": ["\u7f51\u7edc"], "postTitle": "\u8bbe\u7f6eVPS\u9650\u6d41\u81ea\u52a8\u5173\u673a", "postUrl": "post/15.html", "createdDate": "2024-07-01", "dateLabelColor": "#bc4c00"}, "P13": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u7a33\u5b9a1\u6298\u4f7f\u7528Azure\u7684\u670d\u52a1\u5668", "postUrl": "post/13.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P12": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u4e00\u4e2a\u5f00\u6e90 Nginx \u7f51\u7edc\u7ba1\u7406\u9762\u677f", "postUrl": "post/12.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P11": {"labels": ["\u7f51\u7edc"], "postTitle": "CloudFlare\u516c\u5171Cname\u57df\u540d", "postUrl": "post/11.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P10": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u56fe\u7247\u7f29\u653e\u529f\u80fd\u4ee3\u7801", "postUrl": "post/10.html", "createdDate": "2024-06-27", "dateLabelColor": "#bc4c00"}, "P9": {"labels": ["\u7f51\u7edc"], "postTitle": "Fastly CDN\u4e3a\u5f00\u53d1\u8005\u63a8\u51fa\u65b0\u7684free\u514d\u8d39\u8ba1\u5212", "postUrl": "post/9.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P8": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u963f\u91cc\u4e91300\u4f18\u60e0\u5238\u4e705\u5e74\u670d\u52a1\u5668\u6559\u7a0b", "postUrl": "post/8.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P7": {"labels": ["\u7f51\u7edc"], "postTitle": "ipv4\u8bbf\u95eeipv6", "postUrl": "post/7.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P6": {"labels": ["\u7f51\u7edc"], "postTitle": "ipv6\u8bbf\u95eeipv4", "postUrl": "post/6.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P5": {"labels": ["\u7f51\u7edc", "\u5efa\u7ad9"], "postTitle": "Vercel \u52a0\u901f\u4f18\u9009", "postUrl": "post/5.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P18": {"labels": ["\u77e5\u8bc6"], "postTitle": "Markdown\u4ecb\u7ecd\u53ca\u57fa\u672c\u8bed\u6cd5", "postUrl": "post/18.html", "createdDate": "2023-08-16", "dateLabelColor": "#A333D0"}, "P4": {"labels": ["\u8bb0\u5f55"], "postTitle": "\u4e16\u754c\uff0c\u4f60\u597d", "postUrl": "post/4.html", "createdDate": "2018-08-16", "dateLabelColor": "#1f883d"}, "labelColorDict": {"about": "#AFFA71", "link": "#d93f0b", "\u5b66\u4e60": "#e4e669", "\u5efa\u7ad9": "#7057ff", "\u77e5\u8bc6": "#1d76db", "\u7f51\u7edc": "#008672", "\u8bb0\u5f55": "#d73a4a"}}
{"P16": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u56fd\u5185\u5916\u514d\u8d39\u4e91\u6570\u636e\u5e93\u6c47\u603b", "postUrl": "post/16.html", "createdDate": "2024-07-12", "dateLabelColor": "#bc4c00"}, "P15": {"labels": ["\u7f51\u7edc"], "postTitle": "\u8bbe\u7f6eVPS\u9650\u6d41\u81ea\u52a8\u5173\u673a", "postUrl": "post/15.html", "createdDate": "2024-07-01", "dateLabelColor": "#bc4c00"}, "P13": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u7a33\u5b9a1\u6298\u4f7f\u7528Azure\u7684\u670d\u52a1\u5668", "postUrl": "post/13.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P12": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u4e00\u4e2a\u5f00\u6e90 Nginx \u7f51\u7edc\u7ba1\u7406\u9762\u677f", "postUrl": "post/12.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P11": {"labels": ["\u7f51\u7edc"], "postTitle": "CloudFlare\u516c\u5171Cname\u57df\u540d", "postUrl": "post/11.html", "createdDate": "2024-06-30", "dateLabelColor": "#bc4c00"}, "P10": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u56fe\u7247\u7f29\u653e\u529f\u80fd\u4ee3\u7801", "postUrl": "post/10.html", "createdDate": "2024-06-27", "dateLabelColor": "#bc4c00"}, "P9": {"labels": ["\u7f51\u7edc"], "postTitle": "Fastly CDN\u4e3a\u5f00\u53d1\u8005\u63a8\u51fa\u65b0\u7684free\u514d\u8d39\u8ba1\u5212", "postUrl": "post/9.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P8": {"labels": ["\u5efa\u7ad9"], "postTitle": "\u963f\u91cc\u4e91300\u4f18\u60e0\u5238\u4e705\u5e74\u670d\u52a1\u5668\u6559\u7a0b", "postUrl": "post/8.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P7": {"labels": ["\u7f51\u7edc"], "postTitle": "ipv4\u8bbf\u95eeipv6", "postUrl": "post/7.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P6": {"labels": ["\u7f51\u7edc"], "postTitle": "ipv6\u8bbf\u95eeipv4", "postUrl": "post/6.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P5": {"labels": ["\u7f51\u7edc", "\u5efa\u7ad9"], "postTitle": "Vercel \u52a0\u901f\u4f18\u9009", "postUrl": "post/5.html", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P18": {"labels": ["\u77e5\u8bc6"], "postTitle": "Markdown\u4ecb\u7ecd\u53ca\u57fa\u672c\u8bed\u6cd5", "postUrl": "post/18.html", "createdDate": "2023-08-16", "dateLabelColor": "#A333D0"}, "P4": {"labels": ["\u8bb0\u5f55"], "postTitle": "\u4e16\u754c\uff0c\u4f60\u597d", "postUrl": "post/4.html", "createdDate": "2018-08-16", "dateLabelColor": "#1f883d"}, "labelColorDict": {"about": "#AFFA71", "link": "#d93f0b", "\u5efa\u7ad9": "#7057ff", "\u77e5\u8bc6": "#FEF2C0", "\u7f51\u7edc": "#008672", "\u8bb0\u5f55": "#d73a4a"}}

0 comments on commit 92e1eb7

Please sign in to comment.