Skip to content

Commit

Permalink
update-improve
Browse files Browse the repository at this point in the history
  • Loading branch information
sangam14 committed Jan 26, 2024
1 parent 3097e42 commit 002a60e
Show file tree
Hide file tree
Showing 48 changed files with 988 additions and 96 deletions.
Binary file modified .DS_Store
Binary file not shown.
862 changes: 839 additions & 23 deletions assets/images/logos/mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/landing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ featureGrid:

- title: Istio
icon:
description: Istio is an open-source service mesh that provides a key set of functionality across the microservices in a Kubernetes cluster. Istio provides behavioral insights and operational control over the service mesh as a whole, offering a complete solution to satisfy the diverse requirements of microservice applications.
description: Istio is an open-source service mesh that provides a key set of functionality across the microservices in a Kubernetes cluster. Istio provides behavioral insights and operational control over the service mesh as a whole, offering a complete solution to satisfy the diverse requirements of microservice applications.
Binary file added images/CNCF-Thane.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 images/CSA-Banglore-2023.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 images/Citrix-R&D.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 images/DellEMC.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 images/DevRel-Docker_2016.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 images/Docker-9th-birthday.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 images/Docker-Extension.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 images/Docker-Pune-2018.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 images/Docker-Pune-2023.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added images/GPS-Docker.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 images/IMG-20180428-WA0003-2.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 images/IMG-20200529-WA0005.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 images/IMG_7612.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 images/JFROG_K8s.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 images/Jfrog.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 images/KL_University.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 images/Rakuten.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 images/Rancher.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 images/SAPLAB1.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 images/SAPLAB2020-team.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 images/SAP_LAB_AWARD.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 images/SAP_LAB_KO_google.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 images/VISA.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 images/brainanalaytics.jpg
Binary file added images/docker-on-aws-gps2017.jpg
Binary file added images/k8s-forum-blr-2020.jpg
Binary file added images/mayadata.jpg
Binary file added images/microsoft-reactor.jpg
Binary file added images/okteto.jpg
Binary file added images/st-paloti-nagpur.JPG
Binary file added images/thoughtworks.jpg
Binary file added images/walmartlabs.jpg
4 changes: 4 additions & 0 deletions layouts/blog/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<pre class="mermaid">
{{- .Inner }}
</pre>
{{ .Page.Store.Set "hasMermaid" true }}
85 changes: 85 additions & 0 deletions layouts/blog/_markup/render-codeblock.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!-- Prism Render Hook -->
{{ if eq .Page.Site.Params.docs.prism true }}
{{- $attributes := .Attributes }}
{{- $ordinal := .Ordinal }}

<!-- Create SHA1 Hash of Code Block-->
{{ $innerRemoveLB := replaceRE "\r\n?|\n" "" .Inner | string }}
{{ $innerHash := substr (sha1 (printf "%s%s" $innerRemoveLB $ordinal)) 0 7 }}

{{- $classes := slice (printf "language-%s" .Type) .Attributes.class }}

<!-- Options List -->
{{- $options := .Options }}
{{ $optionslist := newScratch }}
{{ range $k, $v := $options }}
{{ $optionslist.Add "options" (printf " %s" $k) }}
{{ end }}
{{ $optionsclasslist := $optionslist.Get "options" }}

<!-- Line Number Highlight -->
{{- if isset .Options "hl_lines" }}
{{ $lines := .Options.hl_lines }}

{{ $offset := 0 }}
{{- if isset .Options "linenostart" }}
{{ $offset = .Options.linenostart }}
{{ else }}
{{ $offset = 1 }}
{{ end }}

{{ $data := newScratch }}
{{ range $value := $lines }}
{{ $value = uniq $value }}
{{ if lt (len $value) 2 }}
{{ $value = slice (add $offset (index $value 0)) }}
{{ else }}
{{ $value = slice (delimit (slice (add $offset (index $value 0)) (add $offset (index $value 1))) "-") }}
{{ end }}
{{ $data.Add "lines" $value }}
{{ end }}
{{ $lines = delimit ($data.Get "lines") "," }}

{{- $attributes = merge $attributes (dict "data-line" $lines) }}

<!-- https://github.com/PrismJS/prism/issues/2714 -->
{{- if and (isset .Options "linenos") (ne .Options.linenos false) }}
{{- $attributes = merge $attributes (dict "data-line-offset" (string $offset)) }}
{{ else }}
{{- $attributes = merge $attributes (dict "data-line-offset" (string (sub $offset 1))) }}
{{ end }}

{{ end -}}

<!-- Line Numbers -->
{{- if and (isset .Options "linenos") (ne .Options.linenos false) }}
{{- $classes = $classes | append "line-numbers" }} <!-- https://discourse.gohugo.io/t/scope-issue-inside-conditional-block-i-think/29273/4 -->
{{ end -}}

<!-- Line Number Start -->
{{- if isset .Options "linenostart" }}
{{- $attributes = merge $attributes (dict "data-start" (string .Options.linenostart)) }}
{{ end -}}

<!-- Linkable Line Numbers -->
{{- if and (isset .Options "anchorlinenos") (ne .Options.anchorlinenos false) }}
{{- $classes = $classes | append "linkable-line-numbers" }}
{{ end -}}

{{- $attributes = merge $attributes (dict "class" (delimit $classes " ")) }}

<div class="prism-codeblock {{ $optionsclasslist }}">
<pre id="{{ $innerHash }}"
{{- range $k, $v := $attributes }}
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
{{- end -}}
>
<code>
{{- .Inner -}}
</code>
</pre>
</div>
{{ else }}
{{ $result := transform.HighlightCodeBlock . }}
{{ $result.Wrapped }}
{{ end }}
1 change: 1 addition & 0 deletions layouts/blog/_markup/render-heading.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}" class="anchor" aria-hidden="true"><i class="material-icons align-middle"></i></a></h{{ .Level }}>
33 changes: 33 additions & 0 deletions layouts/blog/_markup/render-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{{ $dest := .Destination }}
{{ $text := .PlainText }}
{{ $url := urls.Parse $dest }}

{{ $image := newScratch }}
{{ with $url.Scheme }}
{{ $image.Set "resource" (resources.GetRemote $dest) }}
{{ else }}
{{ $image.Set "resource" (resources.Get $dest) }}
{{ end }}

{{ if .Title }}
<figure>
{{ with ($image.Get "resource") }}
{{ if eq .MediaType.SubType "svg" }}
{{ .Content | safeHTML }}
{{ else }}
<img src="{{ .RelPermalink | safeURL }}" alt="{{ $text }}" width="{{ .Width }}" height="{{ .Height }}" loading="lazy">
{{ end }}
{{ else }}
<img src="{{ .Destination | safeURL }}" alt="{{ $text }}" width="{{ .Width }}" height="{{ .Height }}" loading="lazy">
{{ end }}
<figcaption>{{ .Title | markdownify }}</figcaption>
</figure>
{{ else }}
{{ with ($image.Get "resource") }}
{{ if eq .MediaType.SubType "svg" }}
{{ .Content | safeHTML }}
{{ else }}
<img src="{{ .RelPermalink | safeURL }}" alt="{{ $text }}" width="{{ .Width }}" height="{{ .Height }}" loading="lazy">
{{ end }}
{{ end }}
{{ end }}
20 changes: 20 additions & 0 deletions layouts/blog/_markup/render-link.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- /* This render hook now simply outputs the link text without altering the destination URL. */}}

{{- $renderHookName := "link" }}
{{- $minHugoVersion := "0.114.0" }}
{{- if lt hugo.Version $minHugoVersion }}
{{- errorf "The %q render hook requires Hugo v%s or later." $renderHookName $minHugoVersion }}
{{- end }}

{{- /* Set attributes for anchor element. */}}
{{- $attrs := dict "href" .Destination }}
{{- with .Title }}
{{- $attrs = merge $attrs (dict "title" .) }}
{{- end }}

{{- /* Render anchor element. */}}
<a
{{- range $k, $v := $attrs }}
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
{{- end -}}
>{{ .Text | safeHTML }}</a>
6 changes: 3 additions & 3 deletions layouts/blog/list.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{ define "main" }}
<div class="row">
{{ range .Pages }}
<div class="col-md-4 mb-4">
<div class="card">
<!-- Use Bootstrap's responsive grid system -->
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="card h-100">
<div class="card-body">
<h5 class="card-title">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h5>

<p class="text-muted">Posted on {{ .Date.Format "January 2, 2006" }}</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/blog/single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "main" }}
<div class="card">
<div class="card mb-4">
<div class="card-body">
<h1 class="card-title">{{ .Title }}</h1>
<p class="text-muted">Posted on {{ .Date.Format "January 2, 2006" }}</p>
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
{{- if not .Site.IsServer }}
{{- if .Site.GoogleAnalytics }}
{{- template "_internal/google_analytics.html" . -}}

{{- end -}}
{{- end -}}

Expand Down
68 changes: 0 additions & 68 deletions layouts/partials/landing/image_compare.html

This file was deleted.

Binary file added static/.DS_Store
Binary file not shown.
Binary file modified static/img/.DS_Store
Binary file not shown.
Binary file added static/img/slider/GDG-Nagpur.jpg

0 comments on commit 002a60e

Please sign in to comment.