Skip to content

Commit

Permalink
2023-11-16 23:03:05
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Nov 16, 2023
1 parent 3737734 commit 0de59d3
Show file tree
Hide file tree
Showing 18 changed files with 163 additions and 284 deletions.
2 changes: 2 additions & 0 deletions i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ sc:
twitter: { other: 'Twitter' }
repo:
forks: { other: 'Forks' }
language: { other: 'Language' }
license: { other: 'License' }
stargazers: { other: 'Stars' }
subscribers: { other: 'Watchers' }
Expand All @@ -179,6 +180,7 @@ sc:
twitter: { other: 'Twitter' }
repo:
forks: { other: 'Forks' }
language: { other: 'Language' }
license: { other: 'License' }
stargazers: { other: 'Stars' }
gitlab:
Expand Down
2 changes: 2 additions & 0 deletions i18n/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ sc:
twitter: { other: 'Twitter' }
repo:
forks: { other: 'Вилки' }
language: { other: 'Язык разработки' }
license: { other: 'Лицензия' }
stargazers: { other: 'Звёзды' }
subscribers: { other: 'Подписки' }
Expand All @@ -179,6 +180,7 @@ sc:
twitter: { other: 'Twitter' }
repo:
forks: { other: 'Вилки' }
language: { other: 'Язык разработки' }
license: { other: 'Лицензия' }
stargazers: { other: 'Подписки' }
gitlab:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@examples

{{< ghRepo "github/docs" >}}
{{< gh-repo "github/docs" >}}
*/ -}}

{{- if (.Get 0) -}}
Expand All @@ -30,7 +30,7 @@
<div class="row g-0">
{{ if ($repo.owner.avatar_url) }}
<div class="col-md-4 p-1">
<a class="d-inline-block" href="{{ ($repo.html_url) }}" target="_blank" rel="noopener nofollow">
<a class="d-block" href="{{ ($repo.html_url) }}" target="_blank" rel="noopener nofollow">
<img class="card-img"
src="{{ ($repo.owner.avatar_url) }}"
alt="{{ ($repo.name) }}" loading="lazy"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@examples

{{< ghUser "octocat" >}}
{{< gh-user "octocat" >}}
*/ -}}

{{- if (.Get 0) -}}
Expand All @@ -29,7 +29,7 @@
<div class="row g-0">
{{ if ($user.avatar_url) }}
<div class="col-md-4 p-1">
<a class="d-inline-block" href="{{ ($user.html_url) }}" target="_blank" rel="noopener nofollow">
<a class="d-block" href="{{ ($user.html_url) }}" target="_blank" rel="noopener nofollow">
<img class="card-img"
src="{{ ($user.avatar_url) }}"
alt="{{ (($user.name) | default ($user.login)) }}" loading="lazy"/>
Expand Down
116 changes: 0 additions & 116 deletions layouts/shortcodes.old/gitlab-group.html

This file was deleted.

59 changes: 0 additions & 59 deletions layouts/shortcodes.old/gitlab-repo.html

This file was deleted.

92 changes: 0 additions & 92 deletions layouts/shortcodes.old/gitlab-user.html

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@examples

{{< ghFile file="github/docs/README.md" lang="md" >}}
{{< gh-file file="github/docs/README.md" lang="md" >}}
*/ -}}

{{- if (.IsNamedParams) -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@examples

{{< ghOrg "github" >}}
{{< gh-org "github" >}}
*/ -}}

{{- if (.Get 0) -}}
Expand All @@ -29,7 +29,7 @@
<div class="row g-0">
{{ if ($org.avatar_url) }}
<div class="col-md-4 p-1">
<a class="d-inline-block" href="{{ ($org.html_url) }}" target="_blank" rel="noopener nofollow">
<a class="d-block" href="{{ ($org.html_url) }}" target="_blank" rel="noopener nofollow">
<img class="card-img"
src="{{ ($org.avatar_url) }}"
alt="{{ (($org.name) | default ($org.login)) }}" loading="lazy"/>
Expand Down
Loading

0 comments on commit 0de59d3

Please sign in to comment.