@trailstash/ultra 3.2.2 → 3.2.3
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.
- package/cli/.build.js.swo +0 -0
- package/cli/build.js +2 -2
- package/index.html +1 -1
- package/package.json +1 -1
package/cli/.build.js.swo
CHANGED
|
Binary file
|
package/cli/build.js
CHANGED
|
@@ -11,9 +11,9 @@ const engine = new Liquid();
|
|
|
11
11
|
export const getHTMLContext = async (configFile) => {
|
|
12
12
|
const config = await import(configFile);
|
|
13
13
|
const {
|
|
14
|
-
settings: { title, description, url, mastodon },
|
|
14
|
+
settings: { title, icon, description, url, mastodon },
|
|
15
15
|
} = config.modes[config.defaultMode];
|
|
16
|
-
return { title, description, url, mastodon };
|
|
16
|
+
return { title, icon, description, url, mastodon };
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export const buildConfigFromQuery = async (config, query) => {
|
package/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link rel="icon" href="./logo.png" />
|
|
6
|
+
<link rel="icon" href="{{ icon | default: "./logo.png" }}"/>
|
|
7
7
|
{% if mastodon %}
|
|
8
8
|
<link rel="me" href="{{ mastodon }}" />
|
|
9
9
|
{% endif %}
|
package/package.json
CHANGED