diff options
author | Olivier Roques <olivier@oroques.dev> | 2020-08-02 10:35:24 +0200 |
---|---|---|
committer | Olivier Roques <olivier@oroques.dev> | 2020-08-02 10:35:24 +0200 |
commit | 4e9588cbc8ed480a3f59a82dd80c4efd16cf5def (patch) | |
tree | d901d2c176f68e64a1b3489271cf775bd93d707f | |
parent | 5d08140ed04e88c4b4f27e7c3ce820dad931baf7 (diff) |
Update theme
-rw-r--r-- | assets/sass/typography.scss | 2 | ||||
-rw-r--r-- | assets/sass/variables.scss | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | exampleSite/content/about.md | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | exampleSite/static/resume.pdf | bin | 32260 -> 97344 bytes | |||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
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 Binary files differindex dc476ff..d71bd6e 100644..100755 --- a/exampleSite/static/resume.pdf +++ b/exampleSite/static/resume.pdf 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 }} @@ -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" |