Skip to content

Commit c4cdb7f

Browse files
committed
fix lint issue
1 parent a98011f commit c4cdb7f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

content/team/sanjay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ promoted: false
99
name: 'sanjay'
1010
---
1111

12-
Sanjay is a skilled Software Engineer with expertise in developing scalable and distributed systems. He is passionate about playing football and basketball in his free time.
12+
Sanjay is a skilled Software Engineer with expertise in developing scalable and distributed systems. He is passionate about playing football and basketball in his free time.

layouts/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1">
1010

1111
<!-- CSS-->
12-
{{ if .Site.IsServer }}
12+
{{ if hugo.IsServer }}
1313
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath"
1414
"css/style.css" "enableSourceMap" true) }}
1515
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">

layouts/partials/google-analytics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (not .Site.IsServer) hugo.IsProduction -}}
1+
{{- if and (not hugo.IsServer) hugo.IsProduction -}}
22
{{ with getenv "HUGO_GOOGLE_ANALYTICS_ID" | default .Site.Params.google_analytics_id }}
33
<!-- Global site tag (gtag.js) - Google Analytics -->
44
<script async src="https://www.googletagmanager.com/gtag/js?id={{- . -}}"></script>

layouts/partials/google-tag-manager-noscript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (not .Site.IsServer) hugo.IsProduction -}}
1+
{{- if and (not hugo.IsServer) hugo.IsProduction -}}
22
{{ with getenv "HUGO_GTM_ID" | default .Site.Params.google_tag_manager_id }}
33
<!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ . }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->
44
{{ end }}

layouts/partials/google-tag-manager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (not .Site.IsServer) hugo.IsProduction -}}
1+
{{- if and (not hugo.IsServer) hugo.IsProduction -}}
22
{{ with getenv "HUGO_GTM_ID" | default .Site.Params.google_tag_manager_id }}
33
<!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','{{ . }}');</script> <!-- End Google Tag Manager -->
44
{{ end }}

0 commit comments

Comments
 (0)