Comments (3)
The url is generated from either the slug
property, or the title
, updated in 73712ba from back in January in 1.0.0rc4 -- so that'll fix the issue (so there's no coupling with filename and url). Leaving this open to update the docs
from poet.
Perfect, thanks so much! The aha for me:
- Can set set
{ "title": "this is the title I want!", "slug": "this-is-the-slug-i-want", ...}
- The default rule is to convert spaces to dashes, and remove any non-alphanumerics,
So without the slug property, the slug would be "this-is-the-title-I-want"
from poet.
Hmm it should also convert to lowercase, I'll make a separate bug for that -- thanks for the report!
from poet.
Related Issues (20)
- Post slug handling issues HOT 1
- Problems running on Express 4.9 with Poet 2.0 - Please update docs/examples ;) HOT 1
- Please make read more link CSS selectable for styling HOT 5
- Docs say "helper" property instead of "helpers" HOT 1
- Paginate categories HOT 1
- Tutorials HOT 1
- Request: add handlebars examples
- Routing not working?
- Support for "authors" collection?
- Scheduling posts for longer than 24 days out will cause it to get stuck in a loop HOT 3
- Replace the jade template with pug? Since jade lang has been renamed to pug.js
- `npm install -g poet` doesn't? HOT 2
- Concept of Last Modified
- Example poet sites in README are broken
- Using images located in same directory
- Support Express 4.0.0 HOT 6
- Looking For Maintenance Help HOT 14
- synchronous version of poet.init()
- Conform to some Javascript styling guide HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poet.