-
-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Boostrap 4 #246
base: master_v2
Are you sure you want to change the base?
Port to Boostrap 4 #246
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,11 +127,8 @@ paginate = 10 | |
# Enable or disable top bar with social icons | ||
[params.topbar] | ||
enable = true | ||
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or [email protected].</p> | ||
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fas fa-phone"></i></a> | ||
<a href="#" data-animate-hover="pulse"><i class="fas fa-envelope"></i></a> | ||
</p> | ||
""" | ||
text = """<p>Contact us on +420 777 555 333 or [email protected].</p> | ||
""" | ||
|
||
# Enable and disable widgets for the right sidebar | ||
[params.widgets] | ||
|
@@ -161,11 +158,11 @@ paginate = 10 | |
|
||
[params.see_more] | ||
enable = true | ||
icon = "far fa-file-alt" | ||
icon = "far fa-file-code" | ||
title = "Do you want to see more?" | ||
subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage." | ||
link_url = "#" | ||
link_text = "Check other homepages" | ||
link_text = "See another homepage" | ||
|
||
[params.clients] | ||
enable = true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
{{ if isset .Site.Params "carousel" }} | ||
{{ if .Site.Params.carousel.enable }} | ||
{{ if gt (len .Site.Data.carousel) 0 }} | ||
<section> | ||
<div class="home-carousel"> | ||
<div class="dark-mask"></div> | ||
<div class="container"> | ||
<div class="homepage owl-carousel"> | ||
{{ range sort .Site.Data.carousel "weight" }} | ||
<div class="item"> | ||
<div class="row"> | ||
<div class="col-sm-5 right"> | ||
<h1>{{ .title }}</h1> | ||
{{ .description | safeHTML }} | ||
</div> | ||
<div class="col-sm-7"> | ||
<img class="img-responsive" src="{{ .image }}" alt=""> | ||
<!-- carousel start --> | ||
<section style="background: url('../img/photogrid.jpg') center center repeat; background-size: cover;" class="bar background-white relative-positioned"> | ||
<div class="container"> | ||
<div class="home-carousel"> | ||
<div class="dark-mask mask-primary"></div> | ||
<div class="container"> | ||
<div class="homepage owl-carousel owl-loaded owl-drag"> | ||
{{ range sort .Site.Data.carousel "weight" }} | ||
<div class="item"> | ||
<div class="row"> | ||
<div class="col-sm-5 right"> | ||
<h1>{{ .title }}</h1> | ||
{{ .description | safeHTML }} | ||
</div> | ||
<div class="col-sm-7"> | ||
<img class="img-responsive" src="{{ .image }}" alt=""> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
<!-- /.project owl-slider --> | ||
</div> | ||
<!-- /.project owl-slider --> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- carousel start --> | ||
{{ end }} | ||
{{ end }} | ||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<div class="row"> | ||
<div class="col-md-8"> | ||
|
||
<section> | ||
<section class="bar"> | ||
|
||
{{ .Content }} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,13 @@ | |
{{ with $element.url }} | ||
<a href="{{ $element.url }}"> | ||
{{ end }} | ||
<div class="icon"> | ||
<div class="icon-outlined"> | ||
<i class="{{ .icon }}"></i> | ||
</div> | ||
{{ with $element.url }} | ||
</a> | ||
{{ end }} | ||
<h3>{{ $element.name | markdownify }}</h3> | ||
<h3 class="h4">{{ $element.name | markdownify }}</h3> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it sounds weird h3 and class h4. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. I just ripped this off from the Boostrapious live demo/raw distro. We download the raw distro from them and pay for a non-attribution license. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I leave the comment opened to remember this on the final check |
||
<p>{{ $element.description | markdownify }}</p> | ||
</div> | ||
</div> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,64 @@ | ||
<footer id="footer"> | ||
<footer class="main-footer"> | ||
<div class="container"> | ||
<div class="row"> | ||
{{ if isset .Site.Params "about_us" }} | ||
<div class="col-lg-3"> | ||
<h4 class="h6">{{ i18n "aboutUs" }}</h4> | ||
{{ .Site.Params.about_us | safeHTML }} | ||
<hr class="d-block d-lg-none"> | ||
</div> | ||
{{ end }} | ||
|
||
{{ if isset .Site.Params "about_us" }} | ||
<div class="col-md-4 col-sm-6"> | ||
<h4>{{ i18n "aboutUs" }}</h4> | ||
|
||
{{ .Site.Params.about_us | safeHTML }} | ||
|
||
<hr class="hidden-md hidden-lg hidden-sm"> | ||
<div class="col-lg-3"> | ||
{{ if isset .Site.Params "recent_posts" }} {{ if .Site.Params.recent_posts.enable }} | ||
<h4 class="h6">{{ i18n "recentPosts" }}</h4> | ||
<ul class="list-unstyled footer-blog-list"></ul> | ||
{{ range first 3 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} | ||
<li class="d-flex align-items-center"> | ||
<div class="image"> | ||
{{ if isset .Params "banner" }} | ||
<img src="{{ .Site.BaseURL}}{{ .Params.banner }}" class="img-fluid" alt="{{ .Title }}"> | ||
{{ else }} | ||
<img src="{{ .Site.BaseURL}}img/placeholder.png" class="img-fluid" alt="{{ .Title }}"> | ||
{{ end }} | ||
</div> | ||
<div class="text"> | ||
<h5 class="mb-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h5> | ||
</div> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
<hr class="d-block d-lg-none"> | ||
{{ end }} {{ end }} | ||
</div> | ||
<!-- /.col-lg-3 --> | ||
|
||
{{ if isset .Site.Params "address" }} | ||
<div class="col-lg-3"> | ||
<h4 class="h6">{{ i18n "contactTitle" }}</h4> | ||
{{ .Site.Params.address | safeHTML }} | ||
<a href="/contact" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a> | ||
</div> | ||
<!-- /.col-lg-3 --> | ||
{{ end }} | ||
</div> | ||
<!-- /.col-md-4 --> | ||
{{ end }} | ||
|
||
<div class="col-md-4 col-sm-6"> | ||
|
||
{{ if isset .Site.Params "recent_posts" }} {{ if .Site.Params.recent_posts.enable }} | ||
<h4>{{ i18n "recentPosts" }}</h4> | ||
</div> | ||
<!-- /.container --> | ||
|
||
<div class="blog-entries"> | ||
{{ range first 3 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} | ||
<div class="item same-height-row clearfix"> | ||
<div class="image same-height-always"> | ||
<a href="{{ .Permalink }}"> | ||
{{ if isset .Params "banner" }} | ||
<img src="{{ .Params.banner | relURL }}" class="img-responsive" alt="{{ .Title }}"> | ||
{{ else }} | ||
<img src="{{ "img/placeholder.png" | relURL }}" class="img-responsive" alt="{{ .Title }}"> | ||
{{ end }} | ||
</a> | ||
</div> | ||
<div class="name same-height-always"> | ||
<h5><a href="{{ .Permalink }}">{{ .Title }}</a></h5> | ||
</div> | ||
<div class="copyrights"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-4 text-center-md"> | ||
{{ if isset .Site.Params "copyright" }} | ||
<p>{{ .Site.Params.copyright | safeHTML }}</p> | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
<div class="col-lg-8 text-right text-center-md"> | ||
<p>{{ i18n "templateBy" | markdownify }} <a href="https://bootstrapious.com/p/big-bootstrap-tutorial">Bootstrapious </a> & <a href="https://fity.cz/ostrava">Fity</a></p> | ||
<!-- Please do not remove the backlink to us unless you purchase the Attribution-free License at https://bootstrapious.com/donate. Thank you. --> | ||
<p>{{ i18n "portedBy" | markdownify }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>.</p> | ||
</div> | ||
|
||
<hr class="hidden-md hidden-lg"> | ||
{{ end }} {{ end }} | ||
|
||
</div> | ||
<!-- /.col-md-4 --> | ||
|
||
{{ if isset .Site.Params "address" }} | ||
<div class="col-md-4 col-sm-6"> | ||
|
||
<h4>{{ i18n "contactTitle" }}</h4> | ||
|
||
{{ .Site.Params.address | safeHTML }} | ||
|
||
<a href="/contact" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a> | ||
|
||
<hr class="hidden-md hidden-lg hidden-sm"> | ||
|
||
</div> | ||
<!-- /.col-md-4 --> | ||
{{ end }} | ||
|
||
</div> | ||
<!-- /.container --> | ||
</footer> | ||
|
||
<!-- /#footer --> | ||
|
||
<!-- *** FOOTER END *** --> | ||
|
||
<!-- *** COPYRIGHT *** | ||
_________________________________________________________ --> | ||
|
||
<div id="copyright"> | ||
<div class="container"> | ||
<div class="col-md-12"> | ||
{{ if isset .Site.Params "copyright" }} | ||
<p class="pull-left">{{ .Site.Params.copyright | safeHTML }}</p> | ||
{{ end }} | ||
<p class="pull-right"> | ||
{{ i18n "templateBy" | markdownify }} <a href="https://bootstrapious.com/p/universal-business-e-commerce-template">Bootstrapious</a>. | ||
<!-- Not removing this link is part of the licence conditions of the template. Thanks for understanding :) --> | ||
|
||
{{ i18n "portedBy" | markdownify }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- /#copyright --> | ||
|
||
<!-- *** COPYRIGHT END *** --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ line 85 you should update the comment about the default theme color (now turquoise instead of light-blue)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done