diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a209a00..cd43722 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -13,5 +13,4 @@
-{{- end }}
-
+{{- end -}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 4e491d6..756bccb 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
{{- $title := ( .Title ) -}}
{{- $siteTitle := ( .Site.Title ) -}}
{{- if .IsHome -}}
-
{{ $siteTitle }} {{ if isset .Site.Params "subtitle" }}- {{ .Site.Params.Subtitle }}{{ end }}
+ {{ $siteTitle }} | Home
{{- else -}}
{{ $title }} - {{ $siteTitle }}
{{- end -}}
@@ -14,10 +14,16 @@
{{- end -}}
+
+
+
+
+
+
{{ with .OutputFormats.Get "rss" -}}
{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
-
+
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}
diff --git a/static/css/dark.css b/static/css/dark.css
index 2c3c02a..f93adf1 100644
--- a/static/css/dark.css
+++ b/static/css/dark.css
@@ -111,3 +111,49 @@ a:hover {
color: var(--darkMaincolor);
background-color: blue;
}
+.highlight pre code[class=language-javaScript]::before,
+.highlight pre code[class="language-js"]::before {
+ content: "js";
+ background: #f7df1e;
+ color: black;
+}
+.highlight pre code[class*='language-yml']::before,
+.highlight pre code[class*='language-yaml']::before {
+ content: 'yaml';
+ background: #f71e6a;
+ color: white;
+}
+.highlight pre code[class*='language-shell']::before,
+.highlight pre code[class*='language-bash']::before,
+.highlight pre code[class*='language-sh']::before {
+ content: 'shell';
+ background: green;
+ color:white
+}
+.highlight pre code[class*='language-json']::before{
+ content: 'json';
+ background: dodgerblue;
+ color: #000000
+}
+.highlight pre code[class*='language-python']::before,
+.highlight pre code[class*='language-py']::before {
+ content: 'py';
+ background: blue;
+ color: yellow ;
+}
+.highlight pre code[class*='language-css']::before{
+ content: 'css';
+ background: cyan;
+ color: black ;
+}
+.highlight pre code[class*='language-go']::before{
+ content: 'Go';
+ background: cyan;
+ color: royalblue ;
+}
+.highlight pre code[class*='language-md']::before,
+.highlight pre code[class*='language-md']::before{
+ content: 'Markdown';
+ background: royalblue;
+ color: whitesmoke ;
+}
\ No newline at end of file
diff --git a/static/css/main.css b/static/css/main.css
index a92310b..3e6c953 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -225,4 +225,71 @@ svg{
border-radius: 4px;
margin-left: 6px;
background-color: #f9f2f4;
+}
+.highlight {
+ position: relative;
+ -webkit-overflow-scrolling: touch;
+}
+.highlight pre code[class*="language-"] {
+ -webkit-overflow-scrolling: touch;
+}
+.highlight pre code[class*="language-"]::before {
+ background: black;
+ border-radius: 0 0 0.25rem 0.25rem;
+ color: white;
+ font-size: 12px;
+ letter-spacing: 0.025rem;
+ padding: 0.1rem 0.5rem;
+ position: absolute;
+ right: 1rem;
+ text-align: right;
+ text-transform: uppercase;
+ top: 0;
+}
+
+.highlight pre code[class=language-javaScript]::before,
+.highlight pre code[class="language-js"]::before {
+content: "js";
+background: #f7df1e;
+color: black;
+}
+.highlight pre code[class*='language-yml']::before,
+.highlight pre code[class*='language-yaml']::before {
+content: 'yaml';
+background: #f71e6a;
+color: white;
+}
+.highlight pre code[class*='language-shell']::before,
+.highlight pre code[class*='language-bash']::before,
+.highlight pre code[class*='language-sh']::before {
+content: 'shell';
+background: green;
+color:white
+}
+.highlight pre code[class*='language-json']::before{
+content: 'json';
+background: dodgerblue;
+ color: #000000
+}
+.highlight pre code[class*='language-python']::before,
+.highlight pre code[class*='language-py']::before {
+content: 'py';
+background: blue;
+color: yellow ;
+}
+.highlight pre code[class*='language-css']::before{
+content: 'css';
+background: cyan;
+color: black ;
+}
+.highlight pre code[class*='language-go']::before{
+content: 'Go';
+background: cyan;
+color: royalblue ;
+}
+.highlight pre code[class*='language-md']::before,
+.highlight pre code[class*='language-md']::before{
+content: 'Markdown';
+background: royalblue;
+color: whitesmoke ;
}
\ No newline at end of file