Update index.html
This commit is contained in:
+115
-94
@@ -1,103 +1,121 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
{{ if eq .Site.Params.version 1 }}
|
{{ if eq .Site.Params.version 1 }}
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>{{- .Site.Title -}}</title>
|
<title>{{- .Site.Title -}}</title>
|
||||||
<!-- stylesheets -->
|
<!-- stylesheets -->
|
||||||
<link rel="stylesheet" href="/css/bootstrap.min.css" />
|
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="/css/all.min.css" media="all" />
|
<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/fontawesome.min.css" media="all">
|
||||||
<link rel="stylesheet" href="/css/v1/v1.css" />
|
<link rel="stylesheet" href="/css/v1/v1.css">
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link
|
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet">
|
||||||
href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap"
|
<meta name="description" content="{{ .Site.Params.description }}">
|
||||||
rel="stylesheet"
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
/>
|
{{- partial "sections/v1/head.html" . -}}
|
||||||
<meta name="description" content="{{ .Site.Params.description }}" />
|
</head>
|
||||||
{{ template "_internal/google_analytics.html" . }} {{- partial
|
|
||||||
"sections/v1/head.html" . -}}
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{{- partial "sections/v1/home.html" . -}} {{- partial
|
{{- partial "sections/v1/home.html" . -}}
|
||||||
"sections/v1/blog.html" . -}} {{- partial "sections/v1/about.html" . -}} {{-
|
{{- partial "sections/v1/blog.html" . -}}
|
||||||
partial "sections/v1/do_things.html" . -}} {{- partial
|
{{- partial "sections/v1/about.html" . -}}
|
||||||
"sections/v1/projects.html" . -}} {{- partial "sections/v1/contact.html" .
|
{{- partial "sections/v1/do_things.html" . -}}
|
||||||
-}} {{- partial "sections/v1/footer.html" . -}} {{- partial
|
{{- partial "sections/v1/projects.html" . -}}
|
||||||
"sections/v1/scripts.html" . -}}
|
{{- partial "sections/v1/contact.html" . -}}
|
||||||
</body>
|
|
||||||
{{ else if eq .Site.Params.version 2 }}
|
|
||||||
|
|
||||||
<head>
|
{{- partial "sections/v1/footer.html" . -}}
|
||||||
<title>{{- .Site.Title -}}</title>
|
{{- partial "sections/v1/scripts.html" . -}}
|
||||||
<meta name="description" content="{{ .Site.Params.description }}" />
|
</body>
|
||||||
<!-- Fonts -->
|
{{ else if eq .Site.Params.version 2 }}
|
||||||
<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/v2/head.html" . -}}
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<head>
|
||||||
{{- partial "sections/v2/header.html" . -}} {{- partial
|
<title>{{- .Site.Title -}}</title>
|
||||||
"sections/v2/about.html" . -}} {{- partial "sections/v2/do_things.html" .
|
<meta name="description" content="{{ .Site.Params.description }}">
|
||||||
-}} {{- partial "sections/v2/footer.html" . -}} {{- partial
|
<!-- Fonts -->
|
||||||
"sections/v2/scripts.html" . -}}
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
</body>
|
<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/v2/head.html" . -}}
|
||||||
|
</head>
|
||||||
|
|
||||||
{{ else if eq .Site.Params.version 3 }}
|
<body>
|
||||||
|
{{- partial "sections/v2/header.html" . -}}
|
||||||
|
{{- partial "sections/v2/about.html" . -}}
|
||||||
|
{{- partial "sections/v2/do_things.html" . -}}
|
||||||
|
{{- partial "sections/v2/footer.html" . -}}
|
||||||
|
{{- partial "sections/v2/scripts.html" . -}}
|
||||||
|
</body>
|
||||||
|
|
||||||
<head>
|
{{ else if eq .Site.Params.version 3 }}
|
||||||
<title>{{- .Site.Title -}}</title>
|
|
||||||
<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"
|
|
||||||
/>
|
|
||||||
{{ 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/loader.css" />
|
|
||||||
|
|
||||||
<!-- aos -->
|
<head>
|
||||||
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
|
<title>{{- .Site.Title -}}</title>
|
||||||
</head>
|
<meta name="description" content="{{ .Site.Params.description }}">
|
||||||
|
<!-- Fonts -->
|
||||||
|
<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/loader.css" />
|
||||||
|
|
||||||
<body class="text-dark">
|
<!-- aos -->
|
||||||
<!--<div id="loader" class="center"></div>-->
|
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
|
||||||
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
|
</head>
|
||||||
<script>
|
|
||||||
AOS.init();
|
<body class="text-dark">
|
||||||
</script>
|
<!--<div id="loader" class="center"></div>-->
|
||||||
<div>
|
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
|
||||||
{{- partial "sections/v3/navbar.html" . -}} {{ if
|
<script>
|
||||||
.Site.Params.disable_home }} {{ else }} {{- partial
|
AOS.init();
|
||||||
"sections/v3/home.html" . -}} {{ end }} {{ if .Site.Params.disable_about
|
</script>
|
||||||
}} {{ else }} {{- partial "sections/v3/about.html" . -}} {{ end }} {{ if
|
<div>
|
||||||
.Site.Params.disable_experience }} {{ else }} {{- partial
|
{{- partial "sections/v3/navbar.html" . -}}
|
||||||
"sections/v3/experience.html" . -}} {{ end }} {{ if
|
|
||||||
.Site.Params.disable_education }} {{ else }} {{- partial
|
{{ if .Site.Params.disable_home }}
|
||||||
"sections/v3/education.html" . -}} {{ end }} {{ if
|
{{ else }}
|
||||||
.Site.Params.disable_projects }} {{ else }} {{- partial
|
{{- partial "sections/v3/home.html" . -}}
|
||||||
"sections/v3/projects.html" . -}} {{ end }} {{ if
|
{{ end }}
|
||||||
.Site.Params.disable_achievements }} {{ else }} {{- partial
|
|
||||||
"sections/v3/achievements.html" . -}} {{ end }} {{ if
|
{{ if .Site.Params.disable_about }}
|
||||||
.Site.Params.disable_contact }} {{ else }} {{- partial
|
{{ else }}
|
||||||
"sections/v3/contact.html" . -}} {{ end }} {{- partial
|
{{- partial "sections/v3/about.html" . -}}
|
||||||
"sections/v3/footer.html" . -}} {{- partial "sections/v3/scripts.html" .
|
{{ end }}
|
||||||
-}}
|
|
||||||
</div>
|
{{ if .Site.Params.disable_experience }}
|
||||||
<script>
|
{{ 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>
|
||||||
|
<script>
|
||||||
|
/*
|
||||||
document.onreadystatechange = function () {
|
document.onreadystatechange = function () {
|
||||||
if (document.readyState !== "complete") {
|
if (document.readyState !== "complete") {
|
||||||
document.querySelector(
|
document.querySelector(
|
||||||
@@ -112,7 +130,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
$(".darkmode-label").click(function () {
|
$(".darkmode-label").click(function () {
|
||||||
$("body").toggleClass("darkmode");
|
$("body").toggleClass("darkmode");
|
||||||
$(".fa-moon").toggleClass("d-none");
|
$(".fa-moon").toggleClass("d-none");
|
||||||
$(".fa-sun").toggleClass("d-none");
|
$(".fa-sun").toggleClass("d-none");
|
||||||
@@ -145,7 +163,10 @@
|
|||||||
.addClass("darkmode-text-muted")
|
.addClass("darkmode-text-muted")
|
||||||
.removeClass("text-muted");
|
.removeClass("text-muted");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
{{ else }} {{ end }}
|
{{ else }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user