Comments (13)
I think there's no code for this.
We could add a setting SHOW_POST_AUTHOR
and show somewhere near post date.
from flex.
That would be most welcome, thanks Alex
from flex.
@geotheory I don't have time to do this soon. If you could send a PR I appreciate.
from flex.
PR #168 opened
from flex.
PR #168 closed. Breaks translation support and I don't use it so I'm not interested in continuing.
from flex.
This theme was meant for a single author, if anyone wants multi authors they can send a patch later.
from flex.
Is this still under consideration?
from flex.
I mean even for single authors, how can you display the author name in the post?
from flex.
To add the authors it would be simple as
By {{ article.authors|join(', ')|escape }}
However this cannot be translated, and I guess one needs to use Jinja. However my lack of experience doesn't allow me to understand why this fails
{{ _(By %(authors), authors=article.authors|join(', ')|escape) }}
I actually couldn't find a way of using _()
without erros.
from flex.
It should be {{ _("By %(authors)", authors=article.authors|join(', ')|escape) }}
, but this fails in many ways.
For multiples authors, it would produce: By XYZ, ABC, QWERT
In English the correct is: By XYZ and ABC
if only two and By XYZ, ABC, and QWERT
if more than two
For other languages it may follow another pattern.
This could be considered if done properly, but as the theme is meant for ONE single author, the name would be in the sidebar already, not needing anything else IMHO.
from flex.
Well, sometimes a solution is better than none. As far as I know "Authors: " would work in any language that has the meaning of "Authors". This should be written only if there is more than one author.
from flex.
ONE single author
Then you should put this clearly in the README, and do not allow to render the "Authors" page. Unless, of source, you are happy with that inconsistency. I think if you keep "Authors" page, then you cannot claim it is a purely ONE author theme.
from flex.
@kakila as stated in the readme, this theme is not under development anymore. You are free to fix anything that is broken in a PR, as long as it is a proper fix.
If you want to work on this issue I can re-open it and assign it to you.
from flex.
Related Issues (20)
- Google fonts are added, even if set to false HOT 3
- Add support for stork search via search plugin HOT 4
- Style for toc markdown extension
- Fix styles for figure elements HOT 1
- Mastodon social button not working HOT 4
- Migrating to this great theme HOT 3
- Stork search URL is not going to correct place HOT 12
- Add main content class to make search easy and batter HOT 1
- Fix stork location when use self-hosted
- Recommend directly cloning this repo? HOT 3
- Canonical link for index page HOT 1
- Tags in pages title HOT 3
- Link to google developers reference in wiki is dead HOT 1
- Add support for Plausible analytics
- Publish as a Python package on PyPI HOT 6
- Add bidi support HOT 8
- Latex not render in article preview block HOT 2
- Version 3 - Release HOT 5
- JQuery security bugs
- Enhance documentation 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 flex.