Add link previews (Open Graph tags) for shared pages

オープン 初心者向け
#39 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
80/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
html
領域
frontend

調査の方向性

templates/base.html から始めます。空の {% block meta %} を <head> 内に追加し、デフォルトの description、og:title、og:description、og:image、twitter:card タグを付けます。次に、既存のページテンプレートがすでにレンダリングしている game オブジェクトの title、description、cover image フィールドを使って、templates/game.html 内でそのブロックをオーバーライドします。完了とは、ゲームページのレンダリングされた HTML にゲーム固有のタグが含まれていることを意味します — ソースを表示するか、リンクをプレビューチェッカーに通して確認してください。

索引モデルが issue の本文から書いたものです。

説明

frontend good first issue

When someone shares a GameVault link on LinkedIn, WhatsApp or Discord, it should show a title, description and image.

  • Add a {% block meta %} to templates/base.html with a default description, og:title, og:description, og:image and twitter:card
  • Override it in templates/game.html with the game's title, description and cover image
  • Test it with a link preview checker, or by sharing a link to yourself
主要言語
CSS
スター
1
フォーク
1
平均マージ
39分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NotADIM2/GameVault のほかの issue

NotADIM2/GameVault の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。