[FEATURE] author: nil?
See original GitHub issueDescribe the feature you want 描述你的功能需求
- Is it possible to disable the author?
- Another issue: I used ox-hugo to convert org file to markdown. Then I have
author = ["author"]
instead ofauthor = "author"
However, the first one gives me an error message:execute of template failed: template: partials/plugin/link.html:7:16: executing "partials/plugin/link.html" at <safeHTML>: error calling safeHTML: unable to cast []string{"author"} of type []string to string
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Nil (Nil Series #1) by Lynne Matson | eBook | Barnes & Noble®
Lynne Matson is the author of the Nil trilogy. She grew up in Georgia in a house full of books and a backyard...
Read more >What is NIL in college football? Here's what you need to know
Literally, it means "name, image, and likeness," and refers to college athletes' ability to profit off themselves. NIL gives players the right ...
Read more >Feature request: special handling for nil current_user? #47
If current_user is nil, assume no roles match, for present roles, ... I wonder if the authors/chaps doesn't really do apps without logged...
Read more >Dan Canova, Author at The NIL Deal
Dan Canova is a Cofounder and Managing Editor of The NIL Deal. Story tips can be sent to dan@nildealnow.com and on Twitter @DanCanova....
Read more >Vdekje në Nil — Reader Q&A - Goodreads
Readers' questions about Vdekje në Nil. 14 questions answered. ... Although they all feature the same detective, there is no story arc across...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For any ox-hugo user coming across this issue thread, you can make ox-hugo export your author list in
authors
front-matter instead of the defaultauthor
by adding this at the top of the Org file(s):This key replacement feature is documented here.
Ref: https://github.com/kaushalmodi/ox-hugo/issues/608#issuecomment-1086930066
As for the option of disabling author, I tried to delete the following
<span class="post-author"> {{- $options := dict "Class" "author" "Destination" $authorLink "Title" "Author" "Rel" "author" "Icon" (dict "Class" "fas fa-user-circle fa-fw") "Content" $author -}} {{- partial "plugin/link.html" $options -}} </span>
in thelayouts/posts/single.html
, and it no author appears, also “published” with lower case “p”.But I also like your idea, to set
and it’s simpler.
Thank you so much for your time and help here.