-
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.
- Loading branch information
Showing
8 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "Денис Кошелев" | ||
image = "denis.jpeg" | ||
links = [ | ||
{ github = "https://github.com/kshpdr" }, | ||
{ telegram = "https://t.me/kshpdr" }, | ||
{ linkedin = "https://linkedin.com/in/koshelev-denis" } | ||
] |
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,6 @@ | ||
name = "Доват Атаев" | ||
image = "dovat.jpeg" | ||
links = [ | ||
{ telegram = "https://t.me/dovatello" }, | ||
{ linkedin = "https://www.linkedin.com/in/dovat-a-9a2400200/" } | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }} | ||
<div class="flex"> | ||
{{ with .Site.Author.image }} | ||
{{ $authorImage := resources.Get . }} | ||
{{ if $authorImage }} | ||
{{ $authorImage := $authorImage.Fill "192x192 Center" }} | ||
<img | ||
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full" | ||
width="96" | ||
height="96" | ||
alt="{{ $.Site.Author.name | default "Author" }}" | ||
src="{{ $authorImage.RelPermalink }}" | ||
{{ if $.Site.Params.enableImageLazyLoading | default true }} | ||
{{ if .Params.authors }} | ||
{{ range .Params.authors }} | ||
{{ $authorData := index $.Site.Data.authors . }} | ||
<div class="flex"> | ||
{{ with $authorData.image }} <!-- Author image --> | ||
{{ $authorImage := resources.Get . }} | ||
{{ if $authorImage }} | ||
{{ $authorImage := $authorImage.Fill "192x192 Center" }} | ||
<img | ||
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full" | ||
width="96" | ||
height="96" | ||
alt="{{ $authorData.name | default "Author" }}" | ||
src="{{ $authorImage.RelPermalink }}" | ||
loading="lazy" | ||
{{ end }} | ||
/> | ||
/> | ||
{{ end }} | ||
{{ end }} | ||
{{ end }} | ||
<div class="place-self-center"> | ||
{{ with .Site.Author.name | markdownify | emojify }} | ||
<div class="text-[0.6rem] uppercase leading-3 text-neutral-500 dark:text-neutral-400"> | ||
{{ i18n "author.byline_title" | markdownify | emojify }} | ||
<div class="place-self-center"> | ||
{{ with $authorData.name }} <!-- Author name --> | ||
<div class="font-semibold leading-6 text-neutral-800 dark:text-neutral-300"> | ||
{{ . | markdownify | emojify }} | ||
</div> | ||
{{ end }} | ||
{{ with $authorData.bio }} <!-- Author bio --> | ||
<div class="text-sm text-neutral-700 dark:text-neutral-400">{{ . | markdownify | emojify }}</div> | ||
{{ end }} | ||
<!-- Author links --> | ||
{{ with $authorData.links }} | ||
<div class="text-2xl sm:text-lg"> | ||
{{ partial "author-links.html" (dict "context" .) }} | ||
</div> | ||
<div class="font-semibold leading-6 text-neutral-800 dark:text-neutral-300"> | ||
{{ . }} | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
{{ with .Site.Author.bio | markdownify | emojify }} | ||
<div class="text-sm text-neutral-700 dark:text-neutral-400">{{ . }}</div> | ||
{{ end }} | ||
<div class="text-2xl sm:text-lg">{{ partialCached "author-links.html" . }}</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} |