forked from theNewDynamic/gohugo-theme-ananke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #1 - Add Medium social media tag, accessibility, and update Summar…
…y fields I proposed the Medium icon and accessibility pieces of this PR to the master project in this PR: theNewDynamic#143 (comment) The summary page updates are for me
- Loading branch information
Showing
12 changed files
with
6,130 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
+++ | ||
title = "{{ replace .TranslationBaseName "-" " " | title }}" | ||
subtitle = "" | ||
description = "" | ||
date = {{ .Date }} | ||
tags = [] | ||
featured_image = "" | ||
description = "" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"app": { | ||
"js": "js/app.3fc0f988d21662902933.js", | ||
"css": "css/app.e08a958ae3e530145318b6373195c765.css" | ||
"css": "css/app.955516233bcafa4d2a1c13cea63c7b50.css" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{{ $new_window_icon_size := "8px" }} | ||
<span class="new-window">{{ partial "svg/new-window.svg" (dict "size" $new_window_icon_size) }}</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,55 @@ | ||
<!-- TODO: Add follow intents where available TODO: Revisit color and hover color --> | ||
<div hidden> | ||
<span id="new-window-0">Opens in a new window</span> | ||
<span id="new-window-1">Opens an external site</span> | ||
<span id="new-window-2">Opens an external site in a new window</span> | ||
</div> | ||
{{ $icon_size := "32px" }} | ||
{{ with .Param "facebook" }} | ||
<a href="{{ . }}" class="link-transition facebook link dib z-999 pt3 pt0-l mr2" title="Facebook link"> | ||
{{ partial "svg/facebook.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition facebook link dib z-999 pt3 pt0-l mr1" title="Facebook link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/facebook.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "twitter" }} | ||
<a href="{{ . }}" class="link-transition twitter link dib z-999 pt3 pt0-l mr2" title="Twitter link"> | ||
{{ partial "svg/twitter.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition twitter link dib z-999 pt3 pt0-l mr1" title="Twitter link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/twitter.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "instagram" }} | ||
<a href="{{ . }}" class="link-transition instagram link dib z-999 pt3 pt0-l mr2" title="Instagram link"> | ||
{{ partial "svg/instagram.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition instagram link dib z-999 pt3 pt0-l mr1" title="Instagram link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/instagram.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "youtube" }} | ||
<a href="{{ . }}" class="link-transition youtube link dib z-999 pt3 pt0-l mr2" title="Youtube link"> | ||
{{ partial "svg/youtube.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition youtube link dib z-999 pt3 pt0-l mr1" title="Youtube link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/youtube.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "linkedin" }} | ||
<a href="{{ . }}" class="link-transition linkedin link dib z-999 pt3 pt0-l mr2" title="LinkedIn link"> | ||
{{ partial "svg/linkedin.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition linkedin link dib z-999 pt3 pt0-l mr1" title="LinkedIn link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/linkedin.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "github" }} | ||
<a href="{{ . }}" class="link-transition github link dib z-999 pt3 pt0-l mr2" title="Github link"> | ||
{{ partial "svg/github.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition github link dib z-999 pt3 pt0-l mr1" title="Github link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/github.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "gitlab" }} | ||
<a href="{{ . }}" class="link-transition gitlab link dib z-999 pt3 pt0-l mr2" title="Gitlab link"> | ||
{{ partial "svg/gitlab.svg" (dict "size" $icon_size) }} | ||
</a> | ||
<a href="{{ . }}" target="_blank" class="link-transition gitlab link dib z-999 pt3 pt0-l mr1" title="Gitlab link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/gitlab.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} | ||
{{ with .Param "medium" }} | ||
<a href="{{ . }}" target="_blank" class="link-transition medium link dib z-999 pt3 pt0-l mr1" title="Medium link" rel="noopener" aria-describedby="new-window-0"> | ||
{{ partial "svg/medium.svg" (dict "size" $icon_size) }} | ||
{{- partial "new-window-icon.html" . -}} | ||
</a> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.