Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ojroques/hugo-researcher.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2020-08-02 11:35:24 +0300
committerOlivier Roques <olivier@oroques.dev>2020-08-02 11:35:24 +0300
commit4e9588cbc8ed480a3f59a82dd80c4efd16cf5def (patch)
treed901d2c176f68e64a1b3489271cf775bd93d707f
parent5d08140ed04e88c4b4f27e7c3ce820dad931baf7 (diff)
Update theme
-rw-r--r--assets/sass/typography.scss2
-rw-r--r--assets/sass/variables.scss2
-rw-r--r--exampleSite/config.toml3
-rw-r--r--exampleSite/content/about.md2
-rwxr-xr-x[-rw-r--r--]exampleSite/static/resume.pdfbin32260 -> 97344 bytes
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--theme.toml2
7 files changed, 5 insertions, 8 deletions
diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss
index a1427c4..d1a7315 100644
--- a/assets/sass/typography.scss
+++ b/assets/sass/typography.scss
@@ -34,7 +34,7 @@
margin: 0;
}
}
- .avatar {
+ .avatar > img {
border-radius: 50%;
float: right;
margin: -8px 0 0 16px;
diff --git a/assets/sass/variables.scss b/assets/sass/variables.scss
index 6defa80..7565b8c 100644
--- a/assets/sass/variables.scss
+++ b/assets/sass/variables.scss
@@ -2,7 +2,7 @@
$max-width: 750px;
$avatar-size: 90px;
$margin-y: 16px;
-$red: #ff0f00;
+$red: #dc3545;
$dark: #000000;
// Placeholders
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index ab94b95..7c66ee4 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -26,6 +26,3 @@ theme = "researcher"
name = "Contact"
url = "/contact"
weight = 3
-
-[markup.goldmark.renderer]
- unsafe= true
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index 8d5a559..d3c778d 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -4,7 +4,7 @@ title = "About"
## About Me
-<img class="avatar" src="/avatar.jpg">
+{{< figure class="avatar" src="/avatar.jpg" >}}
This is a jekyll based resume template. You can find the full source code on [GitHub](https://github.com/ojroques/researcher).
diff --git a/exampleSite/static/resume.pdf b/exampleSite/static/resume.pdf
index dc476ff..d71bd6e 100644..100755
--- a/exampleSite/static/resume.pdf
+++ b/exampleSite/static/resume.pdf
Binary files differ
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 749441b..44bb678 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
{{ with .Site.Params.footer }}
<hr>
<div class="container text-center mb-2">
- <a href="{{ .url }}"><small>{{ .text }}</small></a>
+ <a href="{{ .url | relURL }}"><small>{{ .text }}</small></a>
</div>
{{ end }}
diff --git a/theme.toml b/theme.toml
index 1bed02f..9e51836 100644
--- a/theme.toml
+++ b/theme.toml
@@ -3,7 +3,7 @@ license = "GPL-3.0"
licenselink = "https://github.com/ojroques/hugo-researcher/blob/master/LICENSE"
description = "A single column, monospace, resume template for Hugo."
homepage = "https://github.com/ojroques/hugo-researcher"
-min_version = "0.41.0"
+min_version = "0.42.0"
[author]
name = "Olivier Roques"