Skip to content

Commit

Permalink
fixed card image and removed twittter
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgs committed Oct 31, 2024
1 parent aeb08f3 commit f5dd8e4
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 9 deletions.
Binary file added assets/images/author/card-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/card-image.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 config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ params:
main: /images/site/dg-white-logo.png
inverted: /images/site/inverted-logo.png
favicon: /images/site/dg-white-logo.png

card: /images/card-image.png
# GitHub repo URL of your site
gitRepo: https://github.com/davidgs/DavidgsWeb

Expand Down
1 change: 1 addition & 0 deletions data/de/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ image:
four: "/images/author/dg10.jpg"
five: "/images/author/dg7.jpg"
six: "/images/author/dg11.jpg"
card: "/images/card-image.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "[email protected]"
Expand Down
2 changes: 2 additions & 0 deletions data/en/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ image:
four: "/images/author/dg10-1.png"
five: "/images/author/dg7-1.png"
six: "/images/author/dg11-1.png"
card: "/images/author/card-image.png"

# give your some contact information. they will be used in the footer
contactInfo:
email: "[email protected]"
Expand Down
1 change: 1 addition & 0 deletions data/es/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ image:
four: "/images/author/dg10.jpg"
five: "/images/author/dg7.jpg"
six: "/images/author/dg11.jpg"
card: "/images/author/card-image.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "[email protected]"
Expand Down
1 change: 1 addition & 0 deletions data/fr/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ image:
four: "/images/author/dg10.jpg"
five: "/images/author/dg7.jpg"
six: "/images/author/dg11.jpg"
card: "/images/author/card-image.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "[email protected]"
Expand Down
3 changes: 0 additions & 3 deletions data/home/about.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ exercitationem praesentium nihil.
[[link]]
icon = "fas fa-envelope"
url = "mailto:[email protected]"
[[link]]
icon = "fab fa-twitter"
url = "https//twitter.com/davidgsIoT"
[[link]]
icon = "fab fa-facebook"
url = "#"
1 change: 1 addition & 0 deletions data/nl/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ image:
four: "/images/author/dg10.jpg"
five: "/images/author/dg7.jpg"
six: "/images/author/dg11.jpg"
card: "/images/author/card-image.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ <h5>{{ i18n "contact_me" }}</h5>
alt="call me" src=" https://img.shields.io/badge/Phone-(919)%20534--5099-blue?style=plastic" loading="lazy"></a></span></li>
{{ end }}
{{ end }}
<li><span><a target="new" href="https://twitter.com/intent/follow?screen_name=davidgsIoT"><img alt="Twitter Follow"
src="https://img.shields.io/twitter/follow/davidgsIoT?color=blue&label=%40davidgsIoT&style=plastic" loading="lazy"></a></span></li>
<!-- <li><span><a target="new" href="https://twitter.com/intent/follow?screen_name=davidgsIoT"><img alt="Twitter Follow"
src="https://img.shields.io/twitter/follow/davidgsIoT?color=blue&label=%40davidgsIoT&style=plastic" loading="lazy"></a></span></li> -->
<li><span><a target="new" href="https://tty0.social/@davidgs"><img alt="Mastodon Follow" src="https://img.shields.io/badge/Mastodon-davidgs-blue?style=plastic" loading="lazy"></a></span></li>
<li><span><a target="new" href="https://bsky.app/profile/davidgs.com"><img alt="Bluesky Follow"
src="https://img.shields.io/badge/Bluesky-davidgs-blue?style=plastic"
Expand Down
7 changes: 4 additions & 3 deletions layouts/partials/opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
{{ $type := (index site.Data site.Language.Lang).site.openGraph.type | default "website" }}
{{ $description := (index site.Data site.Language.Lang).site.openGraph.description | default (index site.Data
site.Language.Lang).site.description }}
<!-- {{ $image := (index site.Data site.Language.Lang).site.openGraph.image | default (index site.Data
site.Language.Lang).author.image }} -->
{{ $image := (index site.Data site.Language.Lang).site.openGraph.card | default (index site.Data
site.Language.Lang).author.card }}
{{ $url := (index site.Data site.Language.Lang).site.openGraph.url | default site.BaseURL }}

<!-- ============ open graph tags ========== -->
<meta property="og:title" content="{{ $title }}" />
<meta property="og:type" content="{{ $type }}" />
<meta property="og:description" content="{{ $description }}" />
<meta property="og:url" content="{{ $url }}">

<meta property="og:image" content="{{ $image }}" />
<meta property="og:site_name" content="{{ site.Title }}" />
{{ template "_internal/twitter_cards.html" . }}

0 comments on commit f5dd8e4

Please sign in to comment.