blog layout update

This commit is contained in:
gurusabarish
2021-01-23 09:54:42 +05:30
parent 40aa344d36
commit 49ed7008b8
14 changed files with 327 additions and 388 deletions
+5 -17
View File
@@ -1,31 +1,19 @@
<footer>
<div class="container bg-transparent py-4">
<div class="row row-eq-height align-items-center">
<div class="col-md-4 nav-link text-center font-weight-bold">
<a class="text-uppercase" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<div class="row justify-content-center">
<div class="col-md-4 text-center order-2 order-lg-1 order-md-1">
<div class="d-none d-sm-none d-md-block">
<div>
<a href="{{ .Site.BaseURL }}">
<img alt="Footer logo" src="{{ .Site.Params.favicon | default "/images/favicon.png"}}"
<img alt="Footer logo" src="{{ .Site.Params.favicon | default " /images/favicon.png"}}"
height="40px" width="40px">
</a>
</div>
&copy; {{ .Site.Params.copyright }} All Rights Reserved
<div class="text-secondary">
Powered by
<a class="text-secondary" href="https://themes.gohugo.io/hugo-profile">Hugo-profile</a>
<a class="text-secondary" href="https://github.com/gurusabarish/hugo-profile">Hugo-profile</a>
</div>
</div>
<div class="col-md-4 font-weight-bold order-1">
<ul class="nav justify-content-center">
{{ range site.Params.customMenus }}
<li class="nav-link">
<a href="{{.Url}}" aria-label="{{ .name }}">{{ .name }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
</div>
</footer>
</footer>
+10 -31
View File
@@ -1,36 +1,15 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" href="{{ .Site.Params.favicon | default "/images/favicon.png"}}" type="image/gif">
<!-- Header and Footer -->
<style>
/* footer */
footer {
background-color: #1c2d41;
color: #8392a5;
border-top-width: 1px !important;
border-color: #8392a5;
}
<link rel="icon" href="{{ .Site.Params.favicon | default " /images/favicon.png"}}" type="image/gif">
footer a {
color: #8392a5;
}
<!-- stylesheets -->
<link rel="stylesheet" href="/css/bootstrap.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/index.css" media="all">
/*navbar*/
.navbar-color {
color: #101820ff;
}
.navbar-text {
font-size: 17px;
}
.navbar-brand {
font-size: 22px;
}
.nav-link {
color: #101820ff !important;
font-size: 18px;
}
</style>
<!-- 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">
+1 -1
View File
@@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm sticky-top">
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm sticky-top">
<div class="container">
<a class="navbar-brand font-weight-bold" href="{{ .Site.BaseURL | relURL }}">
{{ if .Site.Params.favicon }}
+2 -2
View File
@@ -1,5 +1,5 @@
<section>
<div class="about pt-2 bg-white">
<div class="about pt-2">
<div class="container">
<div class="row justify-content-center ">
@@ -28,7 +28,7 @@
</div>
<div class="social px-3">
{{ if .Site.Params.useresume }}
<a href="{{ .Site.Params.resume | default "#" }}" class="btn btn-info" role="button"
<a href="{{ .Site.Params.resume | default " #" }}" class="btn btn-info" role="button"
aria-pressed="true">
Resume
</a>
+1 -1
View File
@@ -1,6 +1,6 @@
{{ if .Site.Params.usedothings }}
<section>
<div class="do-things text-center bg-white" id="do-things">
<div class="do-things text-center" id="do-things">
<div class="container">
<div class="things-i-do text-primary py-3 font-weight-bold">
Things I do