modern-resume-theme 1.8.7 → 1.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/_layouts/default.html +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9eefae07c97b88bf2d8b8c43025bceb74747378e6800da0927c5d31bcb3a3c5
|
4
|
+
data.tar.gz: eabb53a0ca656aac39c98f06c630d8451412d4ca8202d31521d4173c18ac62c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6734bc5dee494cb5a118b713f84b9e9f56289fcaebe32faec908384923687d9411eeea302d837e77e7769e1b0755df649514ee952eb6ae48150a2ab6e207c6ad
|
7
|
+
data.tar.gz: dea2772b8dc646be0138bc0ae2efd43a46059d98e15d7b99fdfaa93534330148851b11ea08c6bc9fcf18ae9b0a5071f1de0dc26c64ec5de36c121f2e6a2bfb08
|
data/README.md
CHANGED
@@ -52,8 +52,11 @@ A full example of the _config.yml can be found [here](https://github.com/sprooge
|
|
52
52
|
##### Dark Mode
|
53
53
|
Dark mode is configured via _config.yml
|
54
54
|
```
|
55
|
-
darkmode: true
|
55
|
+
darkmode: trye (options: true, false, never)
|
56
56
|
```
|
57
|
+
When dark mode is `true` the site will show the dark theme for everyone
|
58
|
+
When dark mode is `false` the site will not show the dark theme, but it will still respect the users device preferences
|
59
|
+
When dark mode is `never` the site will never be shown in the dark theme
|
57
60
|
|
58
61
|
##### _data/education.yml
|
59
62
|
A list of all your education, each education will follow this format
|
data/_layouts/default.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
{%- include head.html -%}
|
5
5
|
|
6
|
-
<body class="{% if site.darkmode %}dark{% endif %}">
|
6
|
+
<body class="{% if site.darkmode == true and site.darkmode != 'never' %}dark{% endif %}">
|
7
7
|
|
8
8
|
{%- include header.html -%}
|
9
9
|
|
@@ -36,7 +36,9 @@
|
|
36
36
|
</main>
|
37
37
|
|
38
38
|
{%- include footer.html -%}
|
39
|
-
|
39
|
+
{% if site.darkmode == false %}
|
40
|
+
<script src="{{ '/assets/js/index.js' | relative_url }}"></script>
|
41
|
+
{% endif %}
|
40
42
|
</body>
|
41
43
|
|
42
44
|
</html>
|