Energy-Price-News-API / energy-prices-api

A news site scraping API with a few different endpoints that provide links to articles related to energy prices
https://energy-price-news.mizouzie.dev
MIT License
47 stars 43 forks source link

Chore: Add twitter meta tags #197

Closed MizouziE closed 2 years ago

MizouziE commented 2 years ago

What work needs to be performed?

In the file ./src/views/index.html please add the following to the head:

  <!-- Twitter Meta Tags -->
  <meta name="twitter:card" content="summary_large_image">
  <meta property="twitter:domain" content="energy-price-news.nosweat.cloud">
  <meta property="twitter:url" content="https://energy-price-news.nosweat.cloud/">
  <meta name="twitter:title" content="Energy Prices API">
  <meta name="twitter:description" content="A news site scraping API with a few different endpoints that provide links to articles related to energy prices">
  <meta name="twitter:image" content="https://energy-price-news.nosweat.cloud/img/energy-prices-api-socials.png">

Additional information

This will improve the look of links shared on twitter.