Skip to content

Commit

Permalink
Fixed issue of double <html>
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanbaral committed May 4, 2019
1 parent 9e377ed commit 364e92f
Showing 1 changed file with 54 additions and 56 deletions.
110 changes: 54 additions & 56 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 364e92f

Please sign in to comment.