Skip to content

Commit aa8eee2

Browse files
committed
Generic updates, Spruce CSS v2.3.0
1 parent 95ea8f8 commit aa8eee2

File tree

15 files changed

+43
-2222
lines changed

15 files changed

+43
-2222
lines changed

.eleventy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = config => {
6868
input: 'src',
6969
output: 'dist'
7070
},
71-
passthroughFileCopy: true
71+
passthroughFileCopy: true,
72+
pathPrefix: './',
7273
};
7374
};

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprucecss-eleventy-documentation-template",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"author": "Cone (https://conedevelopment.com)",
55
"main": ".eleventy.js",
66
"scripts": {
@@ -34,7 +34,7 @@
3434
"npm-run-all": "^4.1.5",
3535
"pagefind": "^0.12.0",
3636
"sass": "^1.66.1",
37-
"sprucecss": "^2.2.2",
37+
"sprucecss": "^2.3.0",
3838
"stylelint": "^15.10.3",
3939
"stylelint-config-sass-guidelines": "^10.0.0",
4040
"stylelint-order": "^6.0.3"

src/_includes/layouts/base.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
{% set assetHash = global.random() %}
2-
31
<!DOCTYPE html>
42
<html lang="en">
53
<head>
6-
<script src="/js/theme-detection.js?{{ assetHash }}"></script>
4+
<script src="/js/theme-detection.js"></script>
75
{% include "partials/preload.html" %}
86
<meta charset="UTF-8" />
97
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
108
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
119
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" />
1210
{% include "partials/meta.html" %}
13-
<link rel="stylesheet" href="/css/main.css?{{ assetHash }}" />
11+
<link rel="stylesheet" href="/css/main.css" />
1412
</head>
1513
<body>
1614
<div class="site-wrapper">
@@ -28,10 +26,10 @@
2826
</div>
2927
{% include "partials/search-modal.html" %}
3028

31-
<script src="/js/theme-change-assets.js?{{ assetHash }}" defer></script>
32-
<script src="/js/navigation.js?{{ assetHash }}" defer></script>
33-
<script src="/js/theme-switcher.js?{{ assetHash }}" defer></script>
34-
<script src="/js/modal.js?{{ assetHash }}" defer></script>
35-
<script src="/js/accordion-card.js?{{ assetHash }}" defer></script>
29+
<script src="/js/theme-change-assets.js" defer></script>
30+
<script src="/js/navigation.js" defer></script>
31+
<script src="/js/theme-switcher.js" defer></script>
32+
<script src="/js/modal.js" defer></script>
33+
<script src="/js/accordion-card.js" defer></script>
3634
</body>
3735
</html>

src/_includes/layouts/front-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>Overview</h2>
1111
<span class="post-card__serial-number"></span>
1212
<h2 class="post-card__title">{{ post.title }}</h2>
1313
<p>{{ post.description }}</p>
14-
<a class="btn btn--primary" href="{{ post.url }}">
14+
<a class="btn btn--primary btn--primary-shadow" href="{{ post.url }}">
1515
Read More
1616
<span class="sr-only">{{ post.title }}</span>
1717
</a>

src/_includes/layouts/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span class="post-card__serial-number"></span>
1111
<h2 class="post-card__title">{{ post.data.title }}</h2>
1212
<p>{{ post.data.summary }}</p>
13-
<a href="{{ post.url }}" class="btn btn--primary">
13+
<a href="{{ post.url }}" class="btn btn--primary btn--primary-shadow">
1414
Read More
1515
<span class="sr-only">{{ post.title }}</span>
1616
</a>

src/_includes/partials/post-heading.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1 class="post-heading__title">
1818
{% if btns %}
1919
<div class="post-heading__actions">
2020
{% for btn in btns %}
21-
{% set cls = 'btn--primary' %}
21+
{% set cls = 'btn--primary btn--primary-shadow' %}
2222
{% if btn.type === 'outline' %}
2323
{% set cls = 'btn--outline-primary' %}
2424
{% endif %}

0 commit comments

Comments
 (0)