Commit b71e4bf0 authored by Mike Jones's avatar Mike Jones

Add quick links, copyright, alignment

parent 2284186e
Pipeline #144 failed with stage
in 21 seconds
......@@ -10,3 +10,4 @@
@import "segments/navigation";
@import "segments/article-summary";
@import "segments/post-pagination";
@import "segments/page-footer";
......@@ -27,7 +27,7 @@
//@import "../../node_modules/bootstrap/scss/card";
//@import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination";
//@import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/badge";
//@import "../../node_modules/bootstrap/scss/jumbotron";
//@import "../../node_modules/bootstrap/scss/alert";
//@import "../../node_modules/bootstrap/scss/progress";
......
$small-padding: 0.5rem;
$big-padding: 2rem;
$border-radius: 2px;
......@@ -2,7 +2,6 @@
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@import "../../node_modules/font-awesome/scss/variables";
@import "../../node_modules/font-awesome/scss/mixins";
@import "../../node_modules/font-awesome/scss/path";
......@@ -23,5 +22,7 @@
.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }
.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }
.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; }
.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; }
.#{$fa-css-prefix}-at:before { content: $fa-var-at; }
@import "../../node_modules/font-awesome/scss/screen-reader";
.navbar-light {
background: none !important;
border-bottom: 1px solid $light-grey;
.container {
padding-left: $big-padding;
padding-right: $big-padding;
}
}
#site-footer {
span {
display: inline-block;
}
.footer-left {
float: left;
}
.footer-right {
float: right;
}
}
Test.
<span class="footer-left">
{{ if .Site.Params.gitlab }}
<a title="Gitlab" href="{{ .Site.Params.gitlab }}"><i class="fa fa-gitlab"></i></a>
{{ end }}
{{ if .Site.Params.irc }}
<a title="Chat on IRC" href="{{ .Site.Params.irc }}"><i class="fa fa-comments"></i></a>
{{ end }}
{{ if .Site.Params.email }}
<a title="E-mail" href="mailto:{{ .Site.Params.email }}"><i class="fa fa-at"></i></a>
{{ end }}
</span>
<span class="footer-right">
&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</span>
......@@ -19,7 +19,10 @@
<ul>
{{ range $k, $v := .Params.tags }}
<li>
<a href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>
<a
class="badge badge-secondary"
href="{{ $baseUrl }}tags/{{ . | urlize }}"
>{{ . }}</a>
</li>
{{ end }}
</ul>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment