Skip to content

Commit

Permalink
Upgraded Bootstrap from 3.3.7 to 4.5.2 (#88)
Browse files Browse the repository at this point in the history
Co-authored-by: Marius <[email protected]>
Co-authored-by: Rajesh Shenoy <[email protected]>
  • Loading branch information
3 people authored Sep 27, 2020
1 parent 80d795e commit 077a55e
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/avatar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="row text-center header">
{{ with .Site.Params.authorimage }} <img src="/img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
<header class="text-center header">
{{ with .Site.Params.authorimage }} <img src="/img/{{ . }}" alt="Author Image" class="rounded-circle text-center headshot"> {{ end }}
<h1 class="author">{{ .Site.Params.author }}</h1>
</header>
8 changes: 4 additions & 4 deletions layouts/partials/content.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="row text-left title">
<header class="text-left title">
<h1 class="title">{{ .Title }}</h1>
</header>
<section id="category-pane" class="row meta">
<section id="category-pane" class="meta">
{{ if ne .Params.showpagemeta false }}
<div class="col-md-12">
<h6 class="text-left meta">
Expand All @@ -20,15 +20,15 @@ <h6 class="text-left meta">
</div>
{{ end }}
</section>
<section id="content-pane" class="row">
<section id="content-pane" class="">
<div class="col-md-12 text-justify content">
{{ if and ( ne .Params.toc false) (gt .WordCount 300 ) }}
{{ .TableOfContents }}
{{ end }}
{{ .Content }}
</div>
</section>
<section id="tag-pane" class="row meta">
<section id="tag-pane" class="meta">
{{ if ne .Params.showpagemeta false }}
<div class="col-md-12">
<h6 class="text-right meta">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/error.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="error-pane" class="row text-center error">
<section id="error-pane" class="text-center error">
<h1 class="text-center">404</h1>
<p>Sorry! That page does not exist. It may have been removed or moved to a new section on the site. Click <a href="/">here</a> go back to the home page.</p>
</section>
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{ end }}

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400&family=Roboto+Slab:400,700&family=Roboto:300,300i,400,400i,500,500i,700,700i">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link rel="stylesheet" href="{{ "css/main.css" | absURL }}">
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/info.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="info-pane" class="row text-center info">
<section id="info-pane" class="text-center info">
{{ with .Site.Params.intro }}
<h3 class="intro">{{ . | markdownify }}</h3>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/li.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="list-pane" class="row list">
<section id="list-pane" class="list">
<ul >
{{ range .Data.Pages.ByPublishDate.Reverse }}
<li class="list-entry">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/main_menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="main-menu-pane" class="row text-center main-menu">
<section id="main-menu-pane" class="text-center main-menu">
{{ range sort .Site.Menus.main }}
<h4><a class="menu-item" href="{{ .URL }}">{{ .Name | lower }}</a></h4>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="menu-pane" class="row menu text-center">
<section id="menu-pane" class="menu text-center">
{{ if not .IsNode }}
{{ with .PrevInSection }}
<span><a class="menu-item" href="{{ .Permalink }}">&lt; prev | </a></span>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/social.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="social-pane" class="row text-center social">
<section id="social-pane" class="text-center social">
{{ with .Site.Params.social.twitter }}
<a href="https://twitter.com/{{.}}" aria-label="Twitter" target="_blank"><i class="fab fa-twitter" aria-hidden="true"></i></a>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/sub_footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="row text-center footer">
<footer class="text-center footer">
<hr />
{{ with .Site.Params.extra }}
<h6 class="text-center copyright">{{ .copyright | markdownify }}</h6>
Expand Down

0 comments on commit 077a55e

Please sign in to comment.