-
Notifications
You must be signed in to change notification settings - Fork 26k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Author object tags showing at top of page #289
Comments
Not exactly sure but all those variables are |
That must be it. Thanks for your time and the theme. |
I think you found a bug. author:
twitter: "padraicst" There's a conditional in the |
Bug fix, change * {% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %} |
Ah, I was just drafting a response saying that it only triggers with a twitter username. I thought it might be because I put some extra gems in the gemfile. Thanks again for your help! |
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close #289
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close mmistakes#289
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close mmistakes#289
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close mmistakes#289
Update ICE AND FIRE to Glas
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close mmistakes#289
I have a related bug. I was using the Jekyll Wordpress importer tool and it creates the front matter yaml:
As a result I get this: I traced the error to this line: Any ideas? I am using this theme as a remote_theme in the _config.yml |
@viktorsmari The theme expects This is the way the theme expects post author's to be specified. |
Thank you. Because I was migrating a Wordpress site with hundreds of posts with the same front matter format, where the author is an array. Do I need to change each post or is there a simpler way? |
@viktorsmari I don't think there is an easy way forward. I'll take a look at the templates and see if there is something I can adjust. |
@viktorsmari I pushed some updates. Try changing
|
Hmm does not seem to work, if you want to try it yourself it is an open source project: https://github.com/piratar/piratar-jekyll Remember to remove the _includes/seo.html, or uncomment line ~42. I start the project with the |
@viktorsmari Quick look you didn't update
|
I tried that locally, which did not work. I just did not push this change to Github. |
@viktorsmari Hmmm. Define not working. I'm not seeing the |
If you scroll at the bottom of the frontpage, there are many pages you can try. Like the last one "Styrkja Pirata", does that one work? Did you also undo/uncomment the SEO I wrote above? |
@viktorsmari Yup. I removed your local version of All the pages, including that last one work as expected. No erroneous text printing on the pages from |
@padraic7a And you deleted your copy of |
Haha, that was it! Thank you for your patience! |
@viktorsmari OK good. FYI - When I merge in this change you'll want to remove |
Hi @mmistakes , I haven't updated or even looked at the site since April 2016. I'll check this thread out when I get to update again. Do you need me to close this issue? |
Nah don't worry about it @padraic7a, I reopened it today to deal with a sort of related issue. It'll close automatically when I merge in the fix 176261c A lot has changed with the theme since then, if/when you get around to updating give the docs a look. It's much easier to install/upgrade the theme once you migrate. |
Great, will do. Thanks!
…On 8 January 2018 at 17:06, Michael Rose ***@***.***> wrote:
Nah don't worry about it @padraic7a <https://github.com/padraic7a>, I
reopened it today to deal with a sort of related issue.
It'll close automatically when I merge in the fix 176261c
<176261c>
A lot has changed with the theme since then, if/when you get around to
updating give the docs a look
<https://mmistakes.github.io/minimal-mistakes/docs/upgrading/>. It's much
easier to install/upgrade the theme once you migrate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#289 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC3vV6FL0Xpg02zB5WhheGZn6KJz68BEks5tIksYgaJpZM4IQ2W_>
.
|
* Fix canonical URL * Fix next/previous page paths * Group meta types together * Fix twitter:creator conditional * Allow `author` to accept an object or string * Reduce white-space * Add "website" as default `og:type` * Add `article:modified_time` * Show `article:modified_time` on `article` only Fixes mmistakes#289
* Fix canonical URL * Fix next/previous page paths * Group meta types together * Fix twitter:creator conditional * Allow `author` to accept an object or string * Reduce white-space * Add "website" as default `og:type` * Add `article:modified_time` * Show `article:modified_time` on `article` only Fixes mmistakes#289
- If `twitter.username` is set and `author.twitter` is nil bad things happen. - Close mmistakes#289
* Fix canonical URL * Fix next/previous page paths * Group meta types together * Fix twitter:creator conditional * Allow `author` to accept an object or string * Reduce white-space * Add "website" as default `og:type` * Add `article:modified_time` * Show `article:modified_time` on `article` only Fixes mmistakes#289
I know this must mean I've done something silly but I can't see what it is.
When I build the site it displays as follows:
Any hints as to what I've done?
The text was updated successfully, but these errors were encountered: