diff --git a/layouts/index.html b/layouts/index.html index 1ac5c02..a936a8d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,8 +1,8 @@ {{define "main"}} - {{if .Site.Params.displayRecent }} + {{if ne .Site.Params.displayRecent false}}
recent
- {{range first .Site.Params.recentMax (where .Site.RegularPages "Section" "ne" "posts")}} + {{range first (default 4 .Site.Params.recentMax) (where .Site.RegularPages "Section" "ne" "posts")}}
{{ .Title }} {{$page := .}} diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 8f5d674..07e3561 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -1,7 +1,7 @@
{{end}}
+{{with .Site.Copyright}} + +{{end}} \ No newline at end of file diff --git a/layouts/shortcodes/contact.html b/layouts/shortcodes/contact.html index ade324c..a3d6c2c 100644 --- a/layouts/shortcodes/contact.html +++ b/layouts/shortcodes/contact.html @@ -8,5 +8,5 @@ method="POST" -{{end}} - \ No newline at end of file + +{{end}} \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index 32c4151..64fc90a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -108,11 +108,11 @@ aside nav a:hover { font-size: 32px; margin-top: 10px; margin-bottom: 20px; - color: #E8E8E8; + color: rgb(188, 188, 196); } #npq{ - color: #BFBFBF; + color: rgb(119, 125, 143); } #closebtn { @@ -274,11 +274,15 @@ footer{ display: flex; flex-direction: column; justify-content: space-around; + align-items: center; padding: 30px; margin-top: 40px; border-top: 1px solid #3D3D3D; background-color:rgb(30, 34, 39) ; } +.copyright{ + text-align: center; +} .contact-form { display: flex; @@ -313,10 +317,19 @@ footer{ .contact-info { display: flex; + width: 100%; flex-direction: row; justify-content: space-around; } +/* .footer-phone{ + margin-left: 20px; +} +.footer-mail{ + margin-right: 20px; + +} */ + @media only screen and (max-width: 650px){ #sidenav { width: 0px;