Skip to content

Commit

Permalink
Merge pull request #42 from stonecharioteer/feat/opengraph
Browse files Browse the repository at this point in the history
feat: enable opengraph metadata
  • Loading branch information
stonecharioteer committed Mar 19, 2024
2 parents 851fe90 + 6e64e66 commit 34f0509
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
7 changes: 7 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"sphinx_panels",
"sphinxcontrib.youtube",
"notfound.extension",
"sphinxext.opengraph",
# "sphinx_last_updated_by_git",
"yasfb",
]
Expand Down Expand Up @@ -43,3 +44,9 @@
'property="og:image"': 'https://stonecharioteer.com/_static/images/logo/stonecharioteer-banner.png',
'name="twitter:image"': 'https://stonecharioteer.com/_static/images/logo/stonecharioteer-banner.png',
}

ogp_site_url = "https://stonecharioteer.com"
ogp_image = "https://stonecharioteer.com/_static/images/logo/stonecharioteer-banner.png"
ogp_type = "article"

ogp_enable_meta_description = True
10 changes: 4 additions & 6 deletions source/posts/2021/2021-07-20-for-those-who-came-in-late.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
:blogpost: true
:date: July 20, 2021
:category: Programming
:tags: Tech, Meta, Python, Ruby, Career-Advice
:redirect: for-those-who-came-in-late
.. meta::
:description: A post on my personal career journey.
:date: 2017-07-20

.. _for-those-who-came-in-late:

Expand Down Expand Up @@ -83,7 +81,7 @@ all that data.
I was asked to abandon the project, since I clearly didn't know what I was
doing. That ticked me off. I called my old school friends, who I looked to as
guides and mentors, and one of them recommended I try doing this in either
Python on Ruby. The other friend told me to choose Python and try using PyQt
Python or Ruby. The other friend told me to choose Python and try using PyQt
to write a desktop application that would write to a SQL database.

All of this was extremely new to me. I'd tried learning Python in 2011, when I
Expand Down
3 changes: 1 addition & 2 deletions source/posts/life/dear-toriyama-sensei.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.. meta::
:description: A letter to Akira Toriyama, the creator of Dragon Ball and Dr. Slump, about what he means to someone who grew up in India.
:keywords: dragonball, anime, manga, india, videogames
:property="og:image": https://stonecharioteer.com/_static/images/logo/stonecharioteer-banner.png
:name="twitter:image": https://stonecharioteer.com/_static/images/logo/stonecharioteer-banner.png
:date: 2024-03-19

.. index:: akira-toriyama, dragonball, anime, manga, video-games

Expand Down

0 comments on commit 34f0509

Please sign in to comment.