docpad / docpad-plugin-sitemap Goto Github PK
View Code? Open in Web Editor NEWAuto-generated sitemaps for DocPad
License: Other
Auto-generated sitemaps for DocPad
License: Other
How do I prevent entries like these from being in the sitemap.xml -surely it doesn't make sense:
<url>
<loc>http://www.a1footballfactory.com/404</loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.a1footballfactory.com/500</loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
@benjamind can you please run npm owner add balupton docpad-plugin-sitemap
Not sure what's going on here. I tried adding my site URL to both plugins.sitemap.hostname
and templateData.site.url
, with and without "http://", and it doesn't seem to make a difference.
I tried running docpad run --debug
, and that gets me debug output from docpad but not any plugins, but I think that's a bug in docpad.
Update: this was due to having the string 'http' in the path of one of my urls - the current sitemap.js release sees that and then fails to add the site protocol and hostname, and then chokes later when the URL doesn't have one.
Changed the docpad.coffee file to configure for the whole site but no changes made.
Works for each document when specify in metadata, but not with plugin config in docpad.coffee.
Any suggestions?
eg
plugins:
sitemap:
cachetime: 600000
changefreq: 'monthly'
priority: 1.0
filePath: 'sitemap.xml'
After running npm install docpad-plugin-sitemap there is no out folder created in the sitemap fodler and docpad fails to load the plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.