Skip to content

Commit

Permalink
change: update blog articles.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2024
1 parent b8463b3 commit 5b77db9
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 58 deletions.
Binary file added v2/images/header-images/cn-go-exception.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/images/header-images/edge-lua-module-cn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/images/header-images/edge-lua-module-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/images/header-images/en-go-exception.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 26 additions & 26 deletions v2/lua/openresty_org/templates.lua

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions v2/templates/news-cn.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
</picture></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]&nbsp;</strong><a href="ann-1021004003.html">OpenResty 1.21.4.3</a><span>&nbsp;[% c.l("is now released!") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/go-exception/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/cn-go-exception.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/go-exception/?src=org_news" target="_blank">线上监控 Go 应用中的程序异常(使用 OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/edge-lua-module/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-lua-module-cn.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/edge-lua-module/?src=org_news" target="_blank">在 OpenResty Edge 中通过 Edgelang 调用 Lua 模块</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/laravel-hello-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/cn-laravel-hello-cpu.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/laravel-hello-cpu/?src=org_news" target="_blank">CPU 时间是如何耗费在 PHP Laravel 应用中的(使用OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
Expand All @@ -24,10 +30,4 @@
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/prometheus-high-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/prometheus-high-cpu-cn.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/prometheus-high-cpu/?src=org_news" target="_blank">使用 OpenResty XRay 定位普罗米修斯应用内部 CPU 最热的 Go 代码路径</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/edge-global-search/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-global-search-cn.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/edge-global-search/?src=org_news" target="_blank">在 OpenResty Edge 的 Admin 控制台中如何使用全局搜索</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/xray-or-http-504/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/xray-or-http-504-cn.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/xray-or-http-504/?src=org_news" target="_blank">如何使用 OpenResty XRay 排查 HTTP 504 超时错误</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
</div>
12 changes: 6 additions & 6 deletions v2/templates/news-en.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
</picture></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]&nbsp;</strong><a href="ann-1021004003.html">OpenResty 1.21.4.3</a><span>&nbsp;[% c.l("is now released!") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/go-exception/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/en-go-exception.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/go-exception/?src=org_news" target="_blank">How to Locate Exceptions inside Go Applications (using OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/edge-lua-module/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-lua-module-en.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/edge-lua-module/?src=org_news" target="_blank">Call Lua modules by Edgelang in OpenResty Edge</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/laravel-hello-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/en-laravel-hello-cpu.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/laravel-hello-cpu/?src=org_news" target="_blank">How CPU Time is Spent inside PHP Laravel Apps (using OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
Expand All @@ -24,10 +30,4 @@
<div class="news-item"><a href="https://blog.openresty.com/en/prometheus-high-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/prometheus-high-cpu-en.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/prometheus-high-cpu/?src=org_news" target="_blank">Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/edge-global-search/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-global-search-en.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/edge-global-search/?src=org_news" target="_blank">Global Search in OpenResty Edge</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/xray-or-http-504/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/xray-or-http-504-en.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/xray-or-http-504/?src=org_news" target="_blank">How to Diagnose HTTP 504 Timeout Errors using OpenResty XRay</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
</div>
20 changes: 10 additions & 10 deletions v2/templates/posts-slide-cn.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
<div class="swiper-parent" id="swiper-parent">
<div class="swiper-container" id="article-carousel">
<div class="swiper-wrapper">
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/go-exception/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/cn-go-exception.jpg"><img class="article-img" src="../images/header-images/cn-go-exception.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">线上监控 Go 应用中的程序异常(使用 OpenResty XRay)</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/edge-lua-module/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/edge-lua-module-cn.png"><img class="article-img" src="../images/header-images/edge-lua-module-cn.png" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">在 OpenResty Edge 中通过 Edgelang 调用 Lua 模块</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/laravel-hello-cpu/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/cn-laravel-hello-cpu.jpg"><img class="article-img" src="../images/header-images/cn-laravel-hello-cpu.jpg" loading="lazy"/></div>
<div class="article-text">
Expand Down Expand Up @@ -101,16 +111,6 @@
<div class="article-text">
<p class="blog-title">在 OpenResty Edge 中配置自定义错误页</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/edge-dns/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/edge-dns-cn.jpg"><img class="article-img" src="../images/header-images/edge-dns-cn.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">在 OpenResty Edge 中配置 DNS 记录</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/edge-resp-header/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/cn-edge-resp-header.png"><img class="article-img" src="../images/header-images/cn-edge-resp-header.png" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">如何添加自定义响应头(使用 OpenResty Edge)</p>
</div></a></div>
</div>
<div class="swiper-pagination"></div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions v2/templates/posts-slide-en.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
<div class="swiper-parent" id="swiper-parent">
<div class="swiper-container" id="article-carousel">
<div class="swiper-wrapper">
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/go-exception/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/en-go-exception.jpg"><img class="article-img" src="../images/header-images/en-go-exception.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">How to Locate Exceptions inside Go Applications (using OpenResty XRay)</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/edge-lua-module/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/edge-lua-module-en.png"><img class="article-img" src="../images/header-images/edge-lua-module-en.png" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">Call Lua modules by Edgelang in OpenResty Edge</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/laravel-hello-cpu/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/en-laravel-hello-cpu.jpg"><img class="article-img" src="../images/header-images/en-laravel-hello-cpu.jpg" loading="lazy"/></div>
<div class="article-text">
Expand Down Expand Up @@ -101,16 +111,6 @@
<div class="article-text">
<p class="blog-title">Configure Custom Error Pages in OpenResty Edge</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/edge-dns/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/edge-dns-en.png"><img class="article-img" src="../images/header-images/edge-dns-en.png" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">Configure DNS Records in OpenResty Edge</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/edge-resp-header/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/en-edge-resp-header.png"><img class="article-img" src="../images/header-images/en-edge-resp-header.png" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">Adding Custom Response Headers in OpenResty Edge</p>
</div></a></div>
</div>
<div class="swiper-pagination"></div>
</div>
Expand Down

0 comments on commit 5b77db9

Please sign in to comment.