Closed AakashGfude closed 5 years ago
@AakashGfude @mmcky I just tested some of the notebook summary and also looked into the meta tags when the notebooks are generated from our development site. And the meta tags are capturing other descriptions like keywords or the content or the summary descriptions only the title.
Can we also add meta tags for keywords for each notebooks and/or add meta tags for the summary description for the notebook? Something like this:
Also, I think it would be helpful if we can add meta tags for the home page as well with keywords when people are searching it on google search and a short description meta tag on what the platform is about.
The description meta tag
meta description is also getting generated. Yes you are right, we can add more meta tags. MetaTag component can be used to write any additional dynamic meta tags. For static ones we can put them directly in the html file.
The above pic is of development site.
@AakashGfude Thank you for your inputs. I missed the meta tags after all the script tags. Can you please liase with @jstac or @mmcky on what static meta tags we would like to put for the QuantEcon notebook itself. Please let me know after these new tags have been added and I can review and merge with master.
@AtlasMaxima Good Idea. @jstac , @mmcky your inputs on this? Also, I just realized, we are updating the title tag directly from Submission.jsx dynamically, will move that code to MetaTag component for consistency. Speaking about the script tags in the head component, if they are not analytics and those kind of scripts which needs to be in the head, it is best to write them just before the end of body tag to prevent render blocking. I will do that in a separate branch later, which we can use for rendering optimizations like this.
Thanks @AakashGfude @AtlasMaxima
@mmcky , would you mind to make some suggestions on tags?
hey @AakashGfude and @AtlasMaxima. Sorry I have diverted github notification in my email to a folder so I missed this. When you make a PR would you mind sending me a slack link. Thanks.
Is this the keywords associated with the site that we discussed yesterday? quantitative economics
, computational economics
, jupyter
, forum
thanks @AakashGfude. @AtlasMaxima if you're happy with this PR please merge. Thanks.
Closes #287
Added a description tag on the submission pages. the MetaTags.jsx component only has description meta tag at present, we can add more tags which needs to be dynamically updated.