diff --git a/v2/images/header-images/cn-go-exception.jpg b/v2/images/header-images/cn-go-exception.jpg new file mode 100644 index 00000000..f6b5d5fc Binary files /dev/null and b/v2/images/header-images/cn-go-exception.jpg differ diff --git a/v2/images/header-images/edge-lua-module-cn.png b/v2/images/header-images/edge-lua-module-cn.png new file mode 100644 index 00000000..d549de16 Binary files /dev/null and b/v2/images/header-images/edge-lua-module-cn.png differ diff --git a/v2/images/header-images/edge-lua-module-en.png b/v2/images/header-images/edge-lua-module-en.png new file mode 100644 index 00000000..516533de Binary files /dev/null and b/v2/images/header-images/edge-lua-module-en.png differ diff --git a/v2/images/header-images/en-go-exception.jpg b/v2/images/header-images/en-go-exception.jpg new file mode 100644 index 00000000..f4d8f9bd Binary files /dev/null and b/v2/images/header-images/en-go-exception.jpg differ diff --git a/v2/lua/openresty_org/templates.lua b/v2/lua/openresty_org/templates.lua index 9df07645..05172f74 100644 --- a/v2/lua/openresty_org/templates.lua +++ b/v2/lua/openresty_org/templates.lua @@ -442,58 +442,58 @@ i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' OpenResty 1.21.4.3 ' -- line 13 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is now released!' }}) -i = i + 1 output[i] = '\n \n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 16 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 16 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' CPU 时间是如何耗费在 PHP Laravel 应用中的(使用OpenResty XRay) ' +i = i + 1 output[i] = ' 线上监控 Go 应用中的程序异常(使用 OpenResty XRay) ' -- line 16 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 19 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 19 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' 线上快速定位阻塞线程的 Perl 代码路径(使用 OpenResty XRay) ' +i = i + 1 output[i] = ' 在 OpenResty Edge 中通过 Edgelang 调用 Lua 模块 ' -- line 19 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 22 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 22 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' 线上监控 Rust 应用中的程序异常(使用 OpenResty XRay) ' +i = i + 1 output[i] = ' CPU 时间是如何耗费在 PHP Laravel 应用中的(使用OpenResty XRay) ' -- line 22 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 25 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 25 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' 使用 OpenResty XRay 定位普罗米修斯应用内部 CPU 最热的 Go 代码路径 ' +i = i + 1 output[i] = ' 线上快速定位阻塞线程的 Perl 代码路径(使用 OpenResty XRay) ' -- line 25 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 28 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 28 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' 在 OpenResty Edge 的 Admin 控制台中如何使用全局搜索 ' +i = i + 1 output[i] = ' 线上监控 Rust 应用中的程序异常(使用 OpenResty XRay) ' -- line 28 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 31 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 31 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' 如何使用 OpenResty XRay 排查 HTTP 504 超时错误 ' +i = i + 1 output[i] = ' 使用 OpenResty XRay 定位普罗米修斯应用内部 CPU 最热的 Go 代码路径 ' -- line 31 "news-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) i = i + 1 output[i] = '
\n
\n' @@ -522,58 +522,58 @@ i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' 
OpenResty 1.21.4.3 ' -- line 13 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is now released!' }}) -i = i + 1 output[i] = '\n \n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 16 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 16 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' How CPU Time is Spent inside PHP Laravel Apps (using OpenResty XRay) ' +i = i + 1 output[i] = ' How to Locate Exceptions inside Go Applications (using OpenResty XRay) ' -- line 16 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 19 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 19 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' Find Blocking Perl Code Paths Holding back CPU Usage (Using OpenResty XRay) ' +i = i + 1 output[i] = ' Call Lua modules by Edgelang in OpenResty Edge ' -- line 19 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 22 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 22 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' How to Locate Exceptions inside Rust Applications (using OpenResty XRay) ' +i = i + 1 output[i] = ' How CPU Time is Spent inside PHP Laravel Apps (using OpenResty XRay) ' -- line 22 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 25 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 25 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay) ' +i = i + 1 output[i] = ' Find Blocking Perl Code Paths Holding back CPU Usage (Using OpenResty XRay) ' -- line 25 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 28 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 28 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' Global Search in OpenResty Edge ' +i = i + 1 output[i] = ' How to Locate Exceptions inside Rust Applications (using OpenResty XRay) ' -- line 28 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) -i = i + 1 output[i] = '
\n
\n
\n
' +i = i + 1 output[i] = '
\n
\n
\n
' -- line 31 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New!' }}) i = i + 1 output[i] = ' ' -- line 31 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'New blog post' }}) -i = i + 1 output[i] = ' How to Diagnose HTTP 504 Timeout Errors using OpenResty XRay ' +i = i + 1 output[i] = ' Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay) ' -- line 31 "news-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'is published.' }}) i = i + 1 output[i] = '
\n
\n' @@ -765,7 +765,7 @@ template_map['posts-slide-cn.tt2'] = function (context) i = i + 1 output[i] = '\n
\n

' -- line 3 "posts-slide-cn.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'More Interesting Topics' }}) -i = i + 1 output[i] = '

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n' +i = i + 1 output[i] = '\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n\n\n\n\n\n' return output end @@ -782,7 +782,7 @@ template_map['posts-slide-en.tt2'] = function (context) i = i + 1 output[i] = '\n
\n

' -- line 3 "posts-slide-en.tt2" i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'More Interesting Topics' }}) -i = i + 1 output[i] = '

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n' +i = i + 1 output[i] = '\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n\n\n\n\n\n' return output end diff --git a/v2/templates/news-cn.tt2 b/v2/templates/news-cn.tt2 index cf251b05..beb79b84 100644 --- a/v2/templates/news-cn.tt2 +++ b/v2/templates/news-cn.tt2 @@ -12,6 +12,12 @@
[% c.l("New!") %] OpenResty 1.21.4.3 [% c.l("is now released!") %]
+
+
[% c.l("New!") %] [% c.l("New blog post") %] 线上监控 Go 应用中的程序异常(使用 OpenResty XRay) [% c.l("is published.") %]
+
+
+
[% c.l("New!") %] [% c.l("New blog post") %] 在 OpenResty Edge 中通过 Edgelang 调用 Lua 模块 [% c.l("is published.") %]
+
[% c.l("New!") %] [% c.l("New blog post") %] CPU 时间是如何耗费在 PHP Laravel 应用中的(使用OpenResty XRay) [% c.l("is published.") %]
@@ -24,10 +30,4 @@
[% c.l("New!") %] [% c.l("New blog post") %] 使用 OpenResty XRay 定位普罗米修斯应用内部 CPU 最热的 Go 代码路径 [% c.l("is published.") %]
-
-
[% c.l("New!") %] [% c.l("New blog post") %] 在 OpenResty Edge 的 Admin 控制台中如何使用全局搜索 [% c.l("is published.") %]
-
-
-
[% c.l("New!") %] [% c.l("New blog post") %] 如何使用 OpenResty XRay 排查 HTTP 504 超时错误 [% c.l("is published.") %]
-
\ No newline at end of file diff --git a/v2/templates/news-en.tt2 b/v2/templates/news-en.tt2 index 08e2dc16..93a76b2d 100644 --- a/v2/templates/news-en.tt2 +++ b/v2/templates/news-en.tt2 @@ -12,6 +12,12 @@
[% c.l("New!") %] OpenResty 1.21.4.3 [% c.l("is now released!") %]
+
+
[% c.l("New!") %] [% c.l("New blog post") %] How to Locate Exceptions inside Go Applications (using OpenResty XRay) [% c.l("is published.") %]
+
+
+
[% c.l("New!") %] [% c.l("New blog post") %] Call Lua modules by Edgelang in OpenResty Edge [% c.l("is published.") %]
+
[% c.l("New!") %] [% c.l("New blog post") %] How CPU Time is Spent inside PHP Laravel Apps (using OpenResty XRay) [% c.l("is published.") %]
@@ -24,10 +30,4 @@
[% c.l("New!") %] [% c.l("New blog post") %] Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay) [% c.l("is published.") %]
-
-
[% c.l("New!") %] [% c.l("New blog post") %] Global Search in OpenResty Edge [% c.l("is published.") %]
-
-
-
[% c.l("New!") %] [% c.l("New blog post") %] How to Diagnose HTTP 504 Timeout Errors using OpenResty XRay [% c.l("is published.") %]
-
\ No newline at end of file diff --git a/v2/templates/posts-slide-cn.tt2 b/v2/templates/posts-slide-cn.tt2 index e35459a4..d681e22c 100644 --- a/v2/templates/posts-slide-cn.tt2 +++ b/v2/templates/posts-slide-cn.tt2 @@ -11,6 +11,16 @@