diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2019-05-04 07:08:31 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2019-05-04 07:08:31 +0300 |
commit | 364e92fe6752dd7132678145a6da7d964153a8d7 (patch) | |
tree | 2d8ebb94f3adf3b8d26a6d94e89338090415a8ba | |
parent | 9e377ed02872b00ba2bb7102a06e9f30d2ddc835 (diff) |
Fixed issue of double <html>
-rw-r--r-- | layouts/partials/head.html | 110 |
1 files changed, 54 insertions, 56 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ef86cd7..3f8cacb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,60 +1,58 @@ -<html lang="{{ .Site.LanguageCode }}">
- <head>
- <title>{{ .Site.Title }}</title>
- <meta charset="utf-8" />
- <meta content="width=device-width, initial-scale=1.0" name="viewport" />
- <meta name="description" content="{{ .Site.Params.description }}" />
- <meta name="author" content="{{ .Site.Params.author }}" />
+<head>
+ <title>{{ .Site.Title }}</title>
+ <meta charset="utf-8" />
+ <meta content="width=device-width, initial-scale=1.0" name="viewport" />
+ <meta name="description" content="{{ .Site.Params.description }}" />
+ <meta name="author" content="{{ .Site.Params.author }}" />
- <link
- rel="stylesheet"
- href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
- />
- <link
- rel="stylesheet"
- href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
- />
- <link
- href="https://fonts.googleapis.com/css?family=Overlock"
- rel="stylesheet"
- />
+ <link
+ rel="stylesheet"
+ href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
+ />
+ <link
+ rel="stylesheet"
+ href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
+ />
+ <link
+ href="https://fonts.googleapis.com/css?family=Overlock"
+ rel="stylesheet"
+ />
- <script>
- setColors = function() {
- let images = document.querySelectorAll("img");
- images.forEach(elem => elem.classList.add("img-fluid", "rounded"));
+ <script>
+ setColors = function() {
+ let images = document.querySelectorAll("img");
+ images.forEach(elem => elem.classList.add("img-fluid", "rounded"));
- let imagecaption = document.querySelectorAll("figcaption");
- imagecaption.forEach(elem => elem.classList.add("initialism"));
- };
- window.onload = setColors;
- </script>
+ let imagecaption = document.querySelectorAll("figcaption");
+ imagecaption.forEach(elem => elem.classList.add("initialism"));
+ };
+ window.onload = setColors;
+ </script>
- <style>
- html,
- body {
- height: 100%;
- }
- .wrapper {
- min-height: 100%;
- margin-bottom: -100px;
- padding-bottom: 100px;
- }
- footer {
- height: 100px;
- }
- a {
- color: #ffc107 !important;
- }
- code {
- color: #17a2b8 !important;
- }
- a:hover {
- text-decoration: none;
- }
- * {
- font-family: "Overlock", cursive;
- }
- </style>
- </head>
-</html>
+ <style>
+ html,
+ body {
+ height: 100%;
+ }
+ .wrapper {
+ min-height: 100%;
+ margin-bottom: -100px;
+ padding-bottom: 100px;
+ }
+ footer {
+ height: 100px;
+ }
+ a {
+ color: #ffc107 !important;
+ }
+ code {
+ color: #17a2b8 !important;
+ }
+ a:hover {
+ text-decoration: none;
+ }
+ * {
+ font-family: "Overlock", cursive;
+ }
+ </style>
+</head>
|