Skip to content

Commit

Permalink
Merge pull request #3 from luiscarlospando/corregir-meta-tags
Browse files Browse the repository at this point in the history
Corregir meta tags
  • Loading branch information
luiscarlospando authored Oct 31, 2023
2 parents fa45815 + f26ae60 commit db26126
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: LuisCarlosPando.com
version: 2.25.1
version: 2.25.2
author: Luis Carlos Pando
email: hey@luiscarlospando.com
description: >- # this means to ignore newlines until "baseurl:"
Expand Down
35 changes: 16 additions & 19 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@
================================================================================
-->

<!-- Meta Tags -->
<meta name="robots" content="index, follow" />
<!-- Primary Meta Tags -->
<meta name="title" content="{% if page.url == '/' %}{% else %}{{ page.title }} - {% endif %}{{ site.title }}" />
<meta name="description" content="{{ page.description }}" />
<meta name="robots" content="index, follow" />
<meta name="author" content="{{ site.author }}" />
<meta name="copyright" content="© {{ 'now' | date: '%Y' }} {{ site.author }}" />
<meta name="email" content="{{ site.email }}" />
Expand All @@ -71,12 +72,21 @@
<meta name="msapplication-TileColor" content="#0e0f34">
<meta name="theme-color" content="#0e0f34">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="{% if page.url == '/' %}{{ site.url }}{% else %}{{ site.url }}{{ page.url }}{% endif %}" />
<meta property="og:title" content="{% if page.url == '/' %}{% else %}{{ page.title }} - {% endif %}{{ site.title }}" />
<meta property="description" content="{{ page.description }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{% if page.url == '/' %}{{ site.url }}{% else %}{{ site.url }}{{ page.url }}{% endif %}" />
<meta property="og:image" content="{{ site.url }}{{ page.image }}">
<meta property="og:image" content="{{ site.url }}{{ page.image }}" />

<!-- X -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://luiscarlospando.com/" />
<meta property="twitter:title" content="{% if page.url == '/' %}{% else %}{{ page.title }} - {% endif %}{{ site.title }}" />
<meta property="twitter:description" content="{{ page.description }}" />
<meta property="twitter:image" content="{{ site.url }}{{ page.image }}" />

<!-- Meta Tags Generated with https://metatags.io -->

<link rel="author" href="/humans.txt" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
Expand All @@ -95,19 +105,6 @@
<link rel="webmention" href="https://webmention.io/luiscarlospando.com/webmention" />
<link rel="pingback" href="https://webmention.io/luiscarlospando.com/xmlrpc" />

<!-- X -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@{{ site.x_username }}">
<meta name="twitter:creator" content="@{{ site.x_username }}">
<meta name="twitter:domain" content="{{ site.domain }}">
<meta name="twitter:url" content="{% if page.url == '/' %}{{ site.url }}{% else %}{{ site.url }}{{ page.url }}{% endif %}">
<meta name="twitter:title" content="{% if page.url == '/' %}{% else %}{{ page.title }} - {% endif %}{{ site.title }}">
<meta name="twitter:description" content="{{ page.description }}">
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}">
<meta name="twitter:widgets:theme" content="dark">
<meta name="twitter:widgets:link-color" content="#ff4081">
<meta name="twitter:widgets:border-color" content="#ff4081">

{% css_asset_tag global %}
- /assets/css/jquery.mmenu.all.css
- /assets/css/jquery.mmenu.themes.css
Expand Down
Binary file modified assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "luiscarlospando.com",
"version": "2.25.1",
"version": "2.25.2",
"description": "Punk dude first and foremost. Losing followers since 2007.",
"main": "index.js",
"scripts": {
Expand Down

1 comment on commit db26126

@vercel
Copy link

@vercel vercel bot commented on db26126 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.