styled-sitemap-generator
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "styled-sitemap-generator", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"private": false, | ||
@@ -19,4 +19,3 @@ "description": "", | ||
"scripts": { | ||
"build": "rm -rf build && rollup -c --bundleConfigAsCjs", | ||
"postbuild": "next-sitemap" | ||
"build": "rm -rf build && rollup -c --bundleConfigAsCjs" | ||
}, | ||
@@ -23,0 +22,0 @@ "publishConfig": { |
@@ -34,6 +34,26 @@ # Styled Sitemap Generator | ||
{ | ||
"create-xsl": "styled-sitemap-generator-xsl", | ||
"create-xsl": "styled-sitemap-generator-xsl" | ||
} | ||
``` | ||
## sitemap.css configuration example | ||
To customize the default styles, you need to create a sitemap.css file in the public folder | ||
```css | ||
body { | ||
background: linear-gradient(90deg, #14191F 0%, #0B0D10 100%); | ||
color: white | ||
} | ||
a { | ||
color: #c4d939; | ||
} | ||
a:hover { | ||
text-decoration:none!important; | ||
color: #adb2b8 | ||
} | ||
``` | ||
## Building sitemaps with styles | ||
@@ -40,0 +60,0 @@ Add styled-sitemap-generator as your postbuild script |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
375271
293
0