Hello. I'm adding some description in the yaml metadata of my posts. However, the default summary is still being shown in my site instead of my description. I'm writing .Rmd files. Why I'm doing wrong?
This is the metadata I'm using:
title: Some Title
author: Me
date: '2020-07-24'
description: 'This is a description.'
slug: Some slug
categories:
This is my post.
Thanks,
Alejandro
Hello Alejandro,
I have a very little experience with rmd files, but let's have a look. 馃槉
Did you try to use the summary option in the frontmatter rather than description?
Alex
Hello Alex,
It's kind of weird. I use the summary option as suggested, and everything seems to be rendering just OK on R Studio Viewer. However, when I serve the site to GitHub and viewing it on the web (using Netlify), no description (but the first lines of the post) is shown.
Alejandro
Alejandro,
Thanks for the clarification. I am currently away from my PC, but I'll try to reproduce it. I don't see any reason why it should ignore your summary from the frontmatter.
Mind checking one last thing: Does the site look correct if you create it locally? Or is the error already there?
Alex
When I used description I had an error both locally and on the web. Now, with summary, everything seems to be ok locally but not on the web.
Thanks again!
@amosino Thanks for your patient and your feed back. Something that is important with Netlify and RStudio is that you specify the correct Hugo version. Can you try executing a blogdown::hugo_version() and setting this as a new variable for your Netlify site (Key = HUGO_VERSION and Value = 0.XX.X)?
Hello Alex,
As suggested, I set the hugo version on Netlify. But everything seems to be the same. No correct summary on the web :(.
Oh no, wait! I think that was a matter of time. It finally worked after those changes!!!!
Thank you very much!