diff --git a/assets/sass/blog.sass b/assets/sass/blog.sass new file mode 100644 index 00000000..fe37330d --- /dev/null +++ b/assets/sass/blog.sass @@ -0,0 +1,4 @@ +.blog-section + .content + p + text-align: justify; diff --git a/assets/sass/news-section.sass b/assets/sass/news-section.sass new file mode 100644 index 00000000..f87a95fb --- /dev/null +++ b/assets/sass/news-section.sass @@ -0,0 +1,23 @@ +$news-section-padding: 0.5rem 1.5rem !default +$news-section-padding-medium: 1.5rem 1.5rem !default +$news-section-padding-large: 3rem 1.5rem !default + +.news-section + padding: $news-section-padding + // Responsiveness + +desktop + // Sizes + &.is-medium + padding: $news-section-padding-medium + &.is-large + padding: $news-section-padding-large + .news-header + overflow: hidden; + white-space: nowrap; + display: flex; + .news-title + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + .news-link + padding-left: 0.75rem; diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 96731bf1..cd45d0a8 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -56,6 +56,8 @@ $tabs-link-active-border-bottom-color: $dark @import "syntax" @import "header-link" @import "override" +@import "news-section" +@import "blog" .is-borderless border: none !important @@ -122,3 +124,16 @@ img[src*="/img/concepts/enterprise/3x1/"] img[src*="/img/concepts/"] width: 80%; + +ul.pagination + width: 25%; + +.paginator-container + padding: 10px; + display: flex; + justify-content: center; + +.rounded-tag + width: fit-content; + border-radius: 1rem; + padding: 0 1rem; diff --git a/config.toml b/config.toml index 3e0af642..bd98f584 100644 --- a/config.toml +++ b/config.toml @@ -31,12 +31,17 @@ name = "Events" url = "/events" weight = 3 +[[menu.navbar]] +name = "Blog" +url = "/blog" +weight = 4 + # The site's parameters [params] twitter = "nservicemesh" fontawesomeversion = "5.8.1" -dateFormat = "6 January 2006" +dateFormat = "02.01.2006" subtitle = "The Hybrid/Multi-cloud IP Service Mesh" description = """ diff --git a/content/blog/2018-08-17-welcome-to-network-service-mesh.md b/content/blog/2018-08-17-welcome-to-network-service-mesh.md deleted file mode 100644 index e9946ef1..00000000 --- a/content/blog/2018-08-17-welcome-to-network-service-mesh.md +++ /dev/null @@ -1,11 +0,0 @@ -+++ -title = "Welcome to Network Service Mesh" -date = 2018-08-17T16:18:07-05:00 -tags = ["network service mesh"] -categories = ["network service mesh"] -draft = true -+++ - -Welcome to the Network Service Mesh Project! We are excited you decided to stop -by our little corner of the internet. - diff --git a/content/blog/2024/2024-01-11-testing-service-mesh-performance copy.md b/content/blog/2024/2024-01-11-testing-service-mesh-performance copy.md new file mode 100644 index 00000000..017c6380 --- /dev/null +++ b/content/blog/2024/2024-01-11-testing-service-mesh-performance copy.md @@ -0,0 +1,12 @@ ++++ +title = "Testing Service Mesh Performance in Multi-Cluster Scenario: Istio vs Kuma vs NSM" +date = 2024-01-11 +announce= "This article may be useful for those who are aware of service meshes and probably trying to improve scalability and connectivity between applications in Kubernetes and other container orchestration systems, e.g., adding encryption and authorization for application connections." +showToC = false ++++ + +# Testing Service Mesh Performance in Multi-Cluster Scenario: Istio vs Kuma vs NSM + +Have you ever wondered how different service meshes perform in dual cluster scenarios? + +Check out the latest assessments from **Pragmagic Inc** in [Testing Service Mesh Performance in Multi-Cluster Scenario: Istio vs Kuma vs NSM](https://dev.to/pragmagic/testing-service-mesh-performance-in-multi-cluster-scenario-istio-vs-kuma-vs-nsm-4agj) \ No newline at end of file diff --git a/content/blog/2024/2024-01-26-enlightning-understanding-nsm.md b/content/blog/2024/2024-01-26-enlightning-understanding-nsm.md new file mode 100644 index 00000000..fdee73fe --- /dev/null +++ b/content/blog/2024/2024-01-26-enlightning-understanding-nsm.md @@ -0,0 +1,12 @@ ++++ +title = "Enlightning - Understanding Network Service Mesh" +date = 2024-01-26 +announce = "Check out how Network Service Mesh enables your workloads to get connectivity, security, and observability amongst each other independent of where they are running!" +showToC = false ++++ + +# Enlightning - Understanding Network Service Mesh + +Check out how Network Service Mesh enables your workloads to get connectivity, security, and observability amongst each other independent of where they are running! + +{{}} \ No newline at end of file diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 00000000..e02c9e2d --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,4 @@ +--- +title: Blog +--- + diff --git a/layouts/blog/section.en.html b/layouts/blog/section.en.html index 42dce13a..6742a98c 100644 --- a/layouts/blog/section.en.html +++ b/layouts/blog/section.en.html @@ -3,5 +3,6 @@ {{ end }} {{ define "main" }} -

Blog

+{{ partial "hero.html" . }} +{{ partial "blog.html" . }} {{ end }} diff --git a/layouts/blog/single.en.html b/layouts/blog/single.en.html new file mode 100644 index 00000000..4bccbeea --- /dev/null +++ b/layouts/blog/single.en.html @@ -0,0 +1,8 @@ +{{ define "title" }} +Network Service Mesh events +{{ end }} + +{{ define "main" }} +{{ partial "blog/hero.html" . }} +{{ partial "blog/article.html" . }} +{{ end }} diff --git a/layouts/index.en.html b/layouts/index.en.html index cf0f9fba..c8b6d7dc 100644 --- a/layouts/index.en.html +++ b/layouts/index.en.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ $subtitle := site.Params.subtitle }} {{ partial "home/hero.html" . }} +{{ partial "home/news.html" . }} {{ partial "home/what-it-is.html" . }} {{ partial "home/use-cases.html" . }} {{ partial "home/how-it-works.html" . }} diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html new file mode 100644 index 00000000..7114df7d --- /dev/null +++ b/layouts/partials/blog.html @@ -0,0 +1,21 @@ +{{ $paginator := .Paginate ((where site.RegularPages "Section" "blog").ByDate.Reverse ) }} +
+ {{ template "_internal/pagination.html" . }} +
+
+
+ {{ range $paginator.Pages }} + {{ .Title }}, + {{ .Date.Format site.Params.dateFormat }} + {{ if isset .Params "announce" }} +
+ {{ .Params.announce }} Read more... + {{ end }} +

+ {{ end }} + +
+
+
+ {{ template "_internal/pagination.html" . }} +
diff --git a/layouts/partials/blog/article.html b/layouts/partials/blog/article.html new file mode 100644 index 00000000..6d5a0e2c --- /dev/null +++ b/layouts/partials/blog/article.html @@ -0,0 +1,30 @@ +{{ $toc := .TableOfContents }} + +
+
+
+
+ {{ if eq .Params.showToC true }} + {{ with $toc }} +
+ {{ partial "blog/toc.html" . }} + +
+
+ {{ end }} + {{ end }} +
+ {{ .Content }} +
+
+ + {{ if eq .Params.showToC true }} + {{ with $toc }} +
+ {{ partial "blog/toc.html" . }} +
+ {{ end }} + {{ end }} +
+
+
diff --git a/layouts/partials/blog/hero.html b/layouts/partials/blog/hero.html new file mode 100644 index 00000000..17a30195 --- /dev/null +++ b/layouts/partials/blog/hero.html @@ -0,0 +1,9 @@ +
+
+
+

+ {{ .CurrentSection.Title }} +

+
+
+
diff --git a/layouts/partials/blog/toc.html b/layouts/partials/blog/toc.html new file mode 100644 index 00000000..a81b4b91 --- /dev/null +++ b/layouts/partials/blog/toc.html @@ -0,0 +1,7 @@ +
+

+ Table of contents +

+ + {{ . }} +
diff --git a/layouts/partials/home/news.html b/layouts/partials/home/news.html new file mode 100644 index 00000000..693e626a --- /dev/null +++ b/layouts/partials/home/news.html @@ -0,0 +1,19 @@ +{{ $lastnews := index (where site.RegularPages "Section" "blog").ByDate.Reverse 0 }} + +
+
+
+
+
+ Latest news +
+
+ +
+
+

{{ $lastnews.Title }}

Read more... +
+
+
+
+
diff --git a/layouts/partials/home/recent-blog-posts.html b/layouts/partials/home/recent-blog-posts.html new file mode 100644 index 00000000..a008dba9 --- /dev/null +++ b/layouts/partials/home/recent-blog-posts.html @@ -0,0 +1,32 @@ +{{ $posts := (where site.RegularPages "Section" "blog").ByDate.Reverse }} +{{ $maxposts := 4 }} + +{{ if gt $posts.Len 0 }} +
+
+
+
+

+ Recent blog posts +

+ +
+ + + + +
+ +
+
+
    + {{ range first $maxposts $posts }} +
  • {{ .Title}} + {{ end }} +
+
+
+
+
+
+{{ end }} diff --git a/static/img/blog/2024/01/11/Fig1.png b/static/img/blog/2024/01/11/Fig1.png new file mode 100644 index 00000000..83e57b5b Binary files /dev/null and b/static/img/blog/2024/01/11/Fig1.png differ diff --git a/static/img/blog/2024/01/11/Fig2.png b/static/img/blog/2024/01/11/Fig2.png new file mode 100644 index 00000000..36215f2a Binary files /dev/null and b/static/img/blog/2024/01/11/Fig2.png differ diff --git a/static/img/blog/2024/01/11/Fig3.png b/static/img/blog/2024/01/11/Fig3.png new file mode 100644 index 00000000..d96c51a4 Binary files /dev/null and b/static/img/blog/2024/01/11/Fig3.png differ diff --git a/static/img/blog/2024/01/11/Fig4.png b/static/img/blog/2024/01/11/Fig4.png new file mode 100644 index 00000000..07c340e4 Binary files /dev/null and b/static/img/blog/2024/01/11/Fig4.png differ diff --git a/static/img/blog/2024/01/11/Fig5.png b/static/img/blog/2024/01/11/Fig5.png new file mode 100644 index 00000000..37eef7b9 Binary files /dev/null and b/static/img/blog/2024/01/11/Fig5.png differ