netlify build fix

This commit is contained in:
gurusabarish
2021-07-25 01:20:25 +05:30
2 changed files with 43 additions and 33 deletions
+25 -17
View File
@@ -5,13 +5,13 @@
<head>
<title>{{- .Site.Title -}}</title>
<!-- stylesheets -->
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<link rel="stylesheet" href="/css/all.min.css" media="all" />
<link rel="stylesheet" href="/css/fontawesome.min.css" media="all" />
<link rel="stylesheet" href="/css/v1/v1.css" />
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/all.min.css" media="all">
<link rel="stylesheet" href="/css/fontawesome.min.css" media="all">
<link rel="stylesheet" href="/css/v1/v1.css">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet" />
<meta name="description" content="{{ .Site.Params.description }}" />
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet">
<meta name="description" content="{{ .Site.Params.description }}">
{{ template "_internal/google_analytics.html" . }}
{{- partial "sections/v1/head.html" . -}}
</head>
@@ -23,6 +23,7 @@
{{- partial "sections/v1/do_things.html" . -}}
{{- partial "sections/v1/projects.html" . -}}
{{- partial "sections/v1/contact.html" . -}}
{{- partial "sections/v1/footer.html" . -}}
{{- partial "sections/v1/scripts.html" . -}}
</body>
@@ -30,11 +31,11 @@
<head>
<title>{{- .Site.Title -}}</title>
<meta name="description" content="{{ .Site.Params.description }}" />
<meta name="description" content="{{ .Site.Params.description }}">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,400&display=swap" rel="stylesheet"
media="all" />
media="all">
{{ template "_internal/google_analytics.html" . }}
{{- partial "sections/v2/head.html" . -}}
</head>
@@ -51,17 +52,15 @@
<head>
<title>{{- .Site.Title -}}</title>
<meta name="description" content="{{ .Site.Params.description }}" />
<meta name="description" content="{{ .Site.Params.description }}">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,400&display=swap" rel="stylesheet"
media="all">
{{ template "_internal/google_analytics.html" . }}
{{- partial "sections/v3/head.html" . -}}
<link rel="stylesheet" href="/css/v3/v3.css" media="all" />
<link rel="stylesheet" href="/css/v3/navbar-footer.css" media="all" />
<link rel="stylesheet" href="/css/v3/v3.css" media="all">
<link rel="stylesheet" href="/css/v3/navbar-footer.css" media="all">
<link rel="stylesheet" href="/css/v3/loader.css" />
<!-- aos -->
@@ -76,34 +75,42 @@
</script>
<div>
{{- partial "sections/v3/navbar.html" . -}}
{{ if .Site.Params.disable_home }}
{{ else }}
{{- partial "sections/v3/home.html" . -}}
{{ end }}
{{ if .Site.Params.disable_about }}
{{ else }}
{{- partial "sections/v3/about.html" . -}}
{{ end }}
{{ if .Site.Params.disable_experience }}
{{ else }}
{{- partial "sections/v3/experience.html" . -}}
{{ end }}
{{ if .Site.Params.disable_education }}
{{ else }}
{{- partial "sections/v3/education.html" . -}}
{{ end }}
{{ if .Site.Params.disable_projects }}
{{ else }}
{{- partial "sections/v3/projects.html" . -}}
{{ end }}
{{ if .Site.Params.disable_achievements }}
{{ else }}
{{- partial "sections/v3/achievements.html" . -}}
{{ end }}
{{ if .Site.Params.disable_contact }}
{{ else }}
{{- partial "sections/v3/contact.html" . -}}
{{ end }}
{{- partial "sections/v3/footer.html" . -}}
{{- partial "sections/v3/scripts.html" . -}}
</div>
@@ -159,6 +166,7 @@
</script>
</body>
{{ else }}
{{ end }}
</html>
@@ -4,8 +4,10 @@
<div class="container-fluid">
<div class="text-dark text-center h3">Achievements</div>
<div class="row justify-content-center py-3 mx-2">
{{ range .Site.Params.achievements }} {{ if .img }} {{ $img = .img }} {{
end }}
{{ range .Site.Params.achievements }}
{{ if .img }}
{{ $img = .img }}
{{ end }}
<div class="col-md-5 achiv-out px-4 px-md-2 my-2" data-aos="fade-up" data-aos-easing="linear"
data-aos-duration="600" data-aos-once="true">
<div class="achiv-card d-flex align-items-end shadow-lg rounded" style="background-image: url({{ .img }});">