Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2021-03-12 09:48:25 +0300
committerDarshan Baral <darshanbaral@gmail.com>2021-03-12 09:48:25 +0300
commit9e832459980f519397d5bd498042c54b38fedc96 (patch)
tree57827917d61ce9cb0a523a050a3687b81ca08138 /layouts
parente55b72abd1ce6a4588b154c0664009d0c3d1aa82 (diff)
changed CRLF to LFHEADmaster
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html64
-rw-r--r--layouts/partials/footer.html30
-rw-r--r--layouts/partials/head.html86
-rw-r--r--layouts/partials/social.html24
4 files changed, 102 insertions, 102 deletions
diff --git a/layouts/index.html b/layouts/index.html
index c01e25b..08470e1 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,32 +1,32 @@
-{{ define "main" }}
-<div class="ml-auto mr-auto row row-eq-height rounded">
- <div class="col-md-5 text-center p-2 mt-1">
- <div class="profile-area rounded text-center position-relative shadow">
- {{ partial "profilePhoto" . }}
- <div class="p-2">
- {{ partial "social" . }} {{ partial "footer" . }}
- </div>
- </div>
- </div>
- <div class="col-md-7 pt-2 mt-3">
- {{ range .Site.Params.showInAccordion }}
- <h2 class="accordion {{ if .expand }} active {{ end }}">
- {{ $current := index $.Site.Params .item }}
- <span onclick="expandAccordion(this)" style="cursor: pointer;">
- <i class="{{ $current.icon }}"></i>
- {{ $current.title -}}
- </span>
- </h2>
- <div
- class="panel overflow-hidden"
- {{ if $current.panelid }}
- id="{{ $current.panelid }}"
- {{ end }}
- >
- {{ partial (print "accordion/" .item) $ }}
- </div>
- {{ end }}
- <script src="{{ `js/accordion.js` | relURL }}"></script>
- </div>
-</div>
-{{ end }}
+{{ define "main" }}
+<div class="ml-auto mr-auto row row-eq-height rounded">
+ <div class="col-md-5 text-center p-2 mt-1">
+ <div class="profile-area rounded text-center position-relative shadow">
+ {{ partial "profilePhoto" . }}
+ <div class="p-2">
+ {{ partial "social" . }} {{ partial "footer" . }}
+ </div>
+ </div>
+ </div>
+ <div class="col-md-7 pt-2 mt-3">
+ {{ range .Site.Params.showInAccordion }}
+ <h2 class="accordion {{ if .expand }} active {{ end }}">
+ {{ $current := index $.Site.Params .item }}
+ <span onclick="expandAccordion(this)" style="cursor: pointer;">
+ <i class="{{ $current.icon }}"></i>
+ {{ $current.title -}}
+ </span>
+ </h2>
+ <div
+ class="panel overflow-hidden"
+ {{ if $current.panelid }}
+ id="{{ $current.panelid }}"
+ {{ end }}
+ >
+ {{ partial (print "accordion/" .item) $ }}
+ </div>
+ {{ end }}
+ <script src="{{ `js/accordion.js` | relURL }}"></script>
+ </div>
+</div>
+{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e905eb6..66b6b21 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,15 +1,15 @@
-<footer class="{{ if .IsHome }} mt-2 mb-2 {{ else }} mt-2 mb-4 text-center {{ end }}">
- <span class="markdownify">{{ .Site.Params.copyright | markdownify }}</span>
- <span {{ if not .Site.Params.theme.showAttribute }}style="font-size:0px;"{{ end }}>
- &middot;
- <i>
- <a href="https://github.com/darshanbaral/aafu">
- aafu
- </a>
- </i>
- by
- <a href="https://www.darshanbaral.com/">
- darshan
- </a>
- </span>
-</footer>
+<footer class="{{ if .IsHome }} mt-2 mb-2 {{ else }} mt-2 mb-4 text-center {{ end }}">
+ <span class="markdownify">{{ .Site.Params.copyright | markdownify }}</span>
+ <span {{ if not .Site.Params.theme.showAttribute }}style="font-size:0px;"{{ end }}>
+ &middot;
+ <i>
+ <a href="https://github.com/darshanbaral/aafu">
+ aafu
+ </a>
+ </i>
+ by
+ <a href="https://www.darshanbaral.com/">
+ darshan
+ </a>
+ </span>
+</footer>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0037ec9..2a8ae95 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,43 +1,43 @@
-<head>
- {{ partial "meta" . }}
-
- <link
- rel="stylesheet"
- href="{{ `/css/bootstrap/bootstrap.min.css` | relURL }}"
- />
- <link
- rel="stylesheet"
- href="https://use.fontawesome.com/releases/v5.15.2/css/all.css"
- integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu"
- crossorigin="anonymous"
- />
- <link
- rel="stylesheet"
- href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css"
- />
- <link
- rel="stylesheet"
- href="//fonts.googleapis.com/css?family=Didact+Gothic%7CRoboto:400%7CRoboto+Mono"
- />
- <link rel="stylesheet" href="{{ print "/css/aafu_" .Site.Params.theme.mainTheme ".css" | relURL }}" />
- <link rel="stylesheet" href="{{ `/css/aafu.css` | relURL }}" />
-
- <script>
- var themeColor = document.querySelector("meta[name=theme-color]");
- window.onload = () => {
- themeColor.content = getComputedStyle(document.body)["background-color"];
- let defaultActivePanel = document.querySelector(".accordion.active");
- if (defaultActivePanel) {
- defaultActivePanel.nextElementSibling.style.maxHeight =
- defaultActivePanel.nextElementSibling.scrollHeight + "px";
- }
- };
- window.onresize = () => {
- let defaultActivePanel = document.querySelector(".accordion.active");
- if (defaultActivePanel) {
- defaultActivePanel.nextElementSibling.style.maxHeight =
- defaultActivePanel.nextElementSibling.scrollHeight + "px";
- }
- };
- </script>
-</head>
+<head>
+ {{ partial "meta" . }}
+
+ <link
+ rel="stylesheet"
+ href="{{ `/css/bootstrap/bootstrap.min.css` | relURL }}"
+ />
+ <link
+ rel="stylesheet"
+ href="https://use.fontawesome.com/releases/v5.15.2/css/all.css"
+ integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu"
+ crossorigin="anonymous"
+ />
+ <link
+ rel="stylesheet"
+ href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css"
+ />
+ <link
+ rel="stylesheet"
+ href="//fonts.googleapis.com/css?family=Didact+Gothic%7CRoboto:400%7CRoboto+Mono"
+ />
+ <link rel="stylesheet" href="{{ print "/css/aafu_" .Site.Params.theme.mainTheme ".css" | relURL }}" />
+ <link rel="stylesheet" href="{{ `/css/aafu.css` | relURL }}" />
+
+ <script>
+ var themeColor = document.querySelector("meta[name=theme-color]");
+ window.onload = () => {
+ themeColor.content = getComputedStyle(document.body)["background-color"];
+ let defaultActivePanel = document.querySelector(".accordion.active");
+ if (defaultActivePanel) {
+ defaultActivePanel.nextElementSibling.style.maxHeight =
+ defaultActivePanel.nextElementSibling.scrollHeight + "px";
+ }
+ };
+ window.onresize = () => {
+ let defaultActivePanel = document.querySelector(".accordion.active");
+ if (defaultActivePanel) {
+ defaultActivePanel.nextElementSibling.style.maxHeight =
+ defaultActivePanel.nextElementSibling.scrollHeight + "px";
+ }
+ };
+ </script>
+</head>
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index b714416..2c5188c 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,12 +1,12 @@
-<h1 class="mb-0">{{ .Site.Params.profile.name }}</h1>
-<h2 class="mb-0">{{ .Site.Params.profile.tagline }}</h2>
-<h3 class="mb-0">{{ .Site.Params.profile.location }}</h3>
-<div class="mt-2 d-flex flex-wrap justify-content-center">
- {{ range.Site.Params.social.list }}
- <div style="height:45px; width:45px;">
- <a href="{{ .url }}">
- <i class="zoomlink mt-1 {{ .icon }}"></i>
- </a>
- </div>
- {{ end }}
-</div>
+<h1 class="mb-0">{{ .Site.Params.profile.name }}</h1>
+<h2 class="mb-0">{{ .Site.Params.profile.tagline }}</h2>
+<h3 class="mb-0">{{ .Site.Params.profile.location }}</h3>
+<div class="mt-2 d-flex flex-wrap justify-content-center">
+ {{ range.Site.Params.social.list }}
+ <div style="height:45px; width:45px;">
+ <a href="{{ .url }}">
+ <i class="zoomlink mt-1 {{ .icon }}"></i>
+ </a>
+ </div>
+ {{ end }}
+</div>