Comments (12)
It seems the Jekyll site template prefers title
, so that's probably what we should use as well.
from jekyll-feed.
A quick GItHub code search suggests that about 2.4M sites use "name", while only about 700,000 use title
from jekyll-feed.
Maybe people are using name
for user / author name? Perhaps look for title
first, if it doesn't exist, then look for name
?
from jekyll-feed.
Yet again I wish that Jekyll had a official way to organize your _config variables, haha, makes everything so much easier 😄
from jekyll-feed.
Maybe people are using name for user / author name? Perhaps look for title first, if it doesn't exist, then look for name?
Taking just a quick look at the search results, yes, it looks like often the name
matches the GitHub username.
Yet again I wish that Jekyll had a official way to organize your _config variables, haha, makes everything so much easier 😄
Tell me about it; Jekyll is very opinionated in some areas, and not at all in others. 😛
from jekyll-feed.
What do we think about {{ site.title | fallback: site.name }}
? (If that'll even work?)
from jekyll-feed.
That seems appropriate, though we'll probably have to do the ugly if/else
like we do for site.url
(but wouldn't a fallback
be nice?)
from jekyll-feed.
We should add fallback to Jekyll as a default filter though that would only affect Jekyll 3 and this needs to support Jekyll 2.4+ but we should still add it, doing a search for liquid fallback shows tons of people offering it in their liquid installations.
from jekyll-feed.
Looks like it's in Jekyll > 2.0.0 as default
.
from jekyll-feed.
Just ran into this after adding this gem (nice that it's available on GitHub now :))
It seems the Jekyll site template prefers title, so that's probably what we should use as well.
This was the reason I was using site.title
, I guess it will be for most people starting from scratch.
The suggested site.title
+ fallback to site.name
sounds good.
(I've switched to site.name
for now, but would prefer site.title
)
from jekyll-feed.
English is not my first language, but semantically I think it is more natural for sites to have names (similarly to libraries, shops, etc) and pages to have titles (similarly to books, articles, etc).
from jekyll-feed.
I believe that #72 closes this issue
from jekyll-feed.
Related Issues (20)
- Use subtitle frontmatter variable if it exists HOT 3
- append rss-only content to beginning or end of posts HOT 2
- Why is my configuration no longer producing feed.xml? HOT 4
- exclude posts from feed HOT 12
- doesn't handle tags with spaces or hyphens HOT 13
- Time for a new release HOT 3
- Disable notification 'A new version of content is available.' HOT 6
- Time for a new release HOT 1
- Option to only include unique categories in the feed HOT 6
- Probable issue in feed generation HOT 2
- Option to skip generating feed if no site content changed HOT 3
- Page title incorrect when containing symbols like '>' HOT 9
- Combining multiple collections into the main feed HOT 3
- Time for a new release HOT 1
- Time for a new release HOT 1
- Duplicating feed?
- Feed name missing HOT 6
- Add option to convert all relative URLs in post content to absolute
- Feed icon supported? HOT 1
- Extension .atom in README.md is bad advise; will be served with wrong media type by web servers HOT 1
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 jekyll-feed.