Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README, remove duplicate Open Graph tags, SEO optimization, featured image and more #54

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

sjbrg
Copy link

@sjbrg sjbrg commented Jan 14, 2022

  • I've suggested an updated readme to reflect that this theme supports Ghost v4.
  • I've also suggested removal of the duplicate Open Graph tags that this theme generates, since Ghost generates them natively since 2018.
  • I've added internationalisation support and also included a swedish theme translation
  • Optimized h1 tag for site title so it only has h1 tag on the homepage. On other pages it is a regular span, to give more weight to the post title.
  • Optimized post title h3 tags. I broke out the post meta (date and tags) from the h3 tag so it only contains the post title. Improves SEO.

sjbrg added 4 commits January 14, 2022 11:51
Changed "Last tested" to Ghost v4.
The tags og:title, og:type and og:description are populated by Ghost natively, so no need for the theme to do it.
Changed so the site title H1 tag is only used on the homepage. On other pages / posts the site title is a span with identical styling, which gives more weight to the actual topic of the page that you likely want to rank for in search engines.
Added support for theme internationalization, as well as swedish translation.
@sjbrg sjbrg changed the title Updated README and removed duplicate Open Graph tags Updated README, remove duplicate Open Graph tags and internationalisation Jan 14, 2022
@sjbrg sjbrg changed the title Updated README, remove duplicate Open Graph tags and internationalisation Updated README, remove duplicate Open Graph tags and internationalization Jan 14, 2022
sjbrg added 4 commits January 14, 2022 15:05
I've broken out the post meta (date and tags) from the h3 title tag so that it only includes the actual post title. Best practice for SEO-purposes. Also added CSS to keep styling identical. On small screens the post meta is placed underneath the page title to avoid ugly line breaks.
I'd suggest adding support for custom excerpt. One might think it takes away from the "minimalist"-approach of this theme, but even if it's supported you don't have to use it. And at least for me who have used custom excerpts with my previous theme this allowed me (and will help others) to take the jump and try out Crisp without loosing that content.
For the same reason as suggesting support for custom excerpt is added, I would suggest support for featured images is added. I have featured images on most of my posts and when I switched to Crisp I "lost" those images. Adding support gives people the option to use it if they want. This featured image code is borrowed from the default Casper theme.
Replaced hardcoded link color with with the native accent color variable to use the accent color that's set in the Ghost design settings.
@sjbrg
Copy link
Author

sjbrg commented Jan 14, 2022

  • Added support for custom excerpt and featured image + caption. The reason for me suggesting this is that most of my old content have custom excerpts and featured images. When I switched to Crisp I "lost" all of that content in the front end. Adding support gives people the freedom to use it if they want. It will also make the switch to Crisp easier for people who already have excerpts and featured images for their posts.
  • Changed the hard coded link color in the CSS-file to use the native accent color variable instead, so with this change you can update the link color from the Ghost settings.

@sjbrg sjbrg changed the title Updated README, remove duplicate Open Graph tags and internationalization Updated README, remove duplicate Open Graph tags, SEO optimization, featured image and more Jan 14, 2022
sjbrg added 2 commits January 15, 2022 10:03
Updated to set lang code according to setting in Ghost settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant