Skip to content
Snippets Groups Projects
Commit 04831b96 authored by Martyn Welch's avatar Martyn Welch
Browse files

Switch back to Beautiful Hugo theme and tweak


The Simple Hugo theme is a bit too minimalistic (which was helpful during
conversion from a wiki, but less desirable as we look to go public with
the hugo site. Switch back to the Beautiful Hugo theme and tweak both the
theme and the config to get the site a little closer to Apertis branding.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent 9910b214
No related branches found
No related tags found
No related merge requests found
baseurl = "https://martyn.pages.apertis.org/wiki-conversion-test/"
title = "Apertis"
theme = "simple-hugo-theme"
# Copyright
copyright = "Copyright 2019 Apertis. Content is available under Creative Commons Attribution Share Alike unless otherwise noted."
theme = "beautifulhugo"
# Highlighting
pygmentsCodefences = true
pygmentsCodeFences = true
pygmentsUseClasses = true
pygmentsCodeFencesGuessSyntax = true
pygmentsoptions = "linenos=table"
pygmentsStyle = "vs"
languageCode = "en-us"
[params]
datefmt = "2006-01-02"
[Author]
name = "Apertis Project"
website = "https://www.apertis.org"
[Params]
subtitle = "Versatile open source infrastructure tailored towards automotive and other embedded applications"
logo = "logo-white.svg"
favicon = "favicon.ico"
dateFormat = "2006-01-02"
rss = true
license = "Content is available under Creative Commons Attribution Share Alike unless otherwise noted."
pager = false
# Menu
[menu]
......@@ -31,20 +39,6 @@ languageCode = "en-us"
# [[menu.main]]
# url = "/contact/"
# name = "contact"
# weight = 3
# Footer
# [[menu.footer]]
# url = "gitlab.apertis.org"
# name = "GitLab"
# weight = 1
# [[menu.footer]]
# url = "/posts/index.xml"
# name = "RSS"
# weight = 2
# [[menu.footer]]
# url = "docs/apertis_code_of_conduct/"
# name = "Code of Conduct"
# weight = 3
# Links format
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
xml:space="preserve"
width="800"
height="800"
viewBox="0 0 800 800"
sodipodi:docname="logo-white.svg"
inkscape:export-filename="/home/glunardi/tmp/Apertis.png"
inkscape:export-xdpi="101.25"
inkscape:export-ydpi="101.25"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs6" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1624"
inkscape:window-height="1223"
id="namedview4"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="0.46940721"
inkscape:cx="313.43073"
inkscape:cy="406.35627"
inkscape:window-x="1363"
inkscape:window-y="287"
inkscape:window-maximized="0"
inkscape:current-layer="g12" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="ink_ext_XXXXXX"
transform="matrix(1.25,0,0,-1.25,0,799.99999)"><g
id="g12"
transform="scale(0.1,0.1)"><rect
style="opacity:1;vector-effect:none;fill:#3a5a80;fill-opacity:1;stroke:#000000;stroke-width:16.73753548;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect825"
width="6397.1885"
height="6407.082"
x="10.393827"
y="-6407.5815"
transform="scale(1,-1)" /><path
d="m 3205.4098,4081.9549 492.11,-852.34 c 390.7099,-67.24 754.8599,-213.05 1075.4799,-420.64 l -1567.5899,2715.09 -1567.54,-2715.11 c 320.62,207.59 684.76,353.42 1075.43,420.66 l 492.11,852.34"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path14"
inkscape:connector-curvature="0" /><path
d="m 4577.6697,2610.0749 c -213.64,131.91 -447.52,233.97 -695.8499,300.37 -215.85,57.74 -442.54,88.7 -676.36,88.7 -233.83,0 -460.52,-30.96 -676.42,-88.7 -248.3201,-66.42 -482.2,-168.46 -695.8401,-300.37 -405.87,-250.53 -738.565,-608.62 -958.026,-1034.26 h 857.236 c 348.47,428.15 879.26,702.28 1473.05,702.28 593.79,0 1124.53,-274.13 1472.99,-702.28 h 857.24 c -219.46,425.64 -552.15,783.73 -958.02,1034.26"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path16"
inkscape:connector-curvature="0" /></g></g></svg>
\ No newline at end of file
......@@ -5,7 +5,7 @@
<article role="main" class="blog-post">
{{ .Content }}
</article>
{{ if .Site.Params.pager }}
<ul class="pager blog-pager">
{{ if .PrevInSection }}
<li class="previous">
......@@ -18,7 +18,7 @@
</li>
{{ end }}
</ul>
{{ end }}
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }}
{{ if .Site.DisqusShortname }}
<div class="disqus-comments">
......
......@@ -35,6 +35,10 @@
&nbsp;&bull;&nbsp;
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
{{ end }}
{{ if .Site.Params.license }}
<br>
{{ .Site.Params.license }}
{{ end }}
</p>
<!-- Please don't remove this, keep my open source work credited :) -->
<p class="credits theme-by text-muted">
......
......@@ -20,13 +20,14 @@ p a {
h1,h2,h3,h4,h5,h6 {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
color: #3a5a80
}
a {
color: #008AFF;
}
a:hover,
a:focus {
color: #0085a1;
color: #e67d1e;
}
blockquote {
color: #808080;
......@@ -64,12 +65,12 @@ hr.small {
::-moz-selection {
color: white;
text-shadow: none;
background: #0085a1;
background: #e67d1e;
}
::selection {
color: white;
text-shadow: none;
background: #0085a1;
background: #e67d1e;
}
img::selection {
color: white;
......@@ -99,7 +100,7 @@ img {
/* --- Navbar --- */
.navbar-custom {
background: #F5F5F5;
background: #414141;
border-bottom: 1px solid #EAEAEA;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
......@@ -113,14 +114,14 @@ img {
.navbar-custom .navbar-brand,
.navbar-custom .nav li a {
font-weight: 800;
color: #404040;
color: #bebebe;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
color: #0085a1;
color: #e67d1e;
}
.navbar-custom .navbar-brand-logo {
......@@ -259,7 +260,7 @@ img {
footer {
padding: 30px 0;
background: #F5F5F5;
background: #bebebe;
border-top: 1px #EAEAEA solid;
margin-top: 50px;
font-size: 14px;
......@@ -320,7 +321,7 @@ footer .theme-by {
.post-preview a:focus,
.post-preview a:hover {
text-decoration: none;
color: #0085a1;
color: #e67d1e;
}
.post-preview .post-title {
......@@ -593,8 +594,8 @@ footer .theme-by {
.pager li a:hover,
.pager li a:focus {
color: #FFF;
background: #0085a1;
border: 1px solid #0085a1;
background: #e67d1e;
border: 1px solid #e67d1e;
}
.pager {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment