-
Notifications
You must be signed in to change notification settings - Fork 39
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
5 changed files
with
114 additions
and
107 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,7 @@ | ||
<img height="{{include.height}}" | ||
width="{{include.width}}" | ||
class="{{include.class}}" | ||
{% if post.author and post.avatar %} | ||
alt="{{locale.alt_text_prefix}} {{post.author}}" | ||
{% endif %} | ||
src="{% if post.avatar contains '://' %}{% elsif post.avatar %}{{ site.baseurl }}/hackergotchi/{% else %}{{ site.baseurl }}/hackergotchi/default.png{% endif %}{{ post.avatar }}"/> | ||
width="{{include.width}}" | ||
class="{{include.class}}" | ||
{% if post.author and post.avatar %} | ||
alt="{{locale.alt_text_prefix}} {{post.author}}" | ||
{% endif %} | ||
src="{% if post.avatar contains '://' %}{% elsif post.avatar %}{{ site.baseurl }}/hackergotchi/{% else %}{{ site.baseurl }}/hackergotchi/default.png{% endif %}{{ post.avatar }}"/> |
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,38 +1,38 @@ | ||
<div class="py-3 mb-3 border-bottom bg-light map-container"> | ||
<div class="map"> | ||
{% include map.svg %} | ||
</div> | ||
<div class="container"> | ||
<div class="row col-md-10 mx-auto"> | ||
<div class="col-md-auto d-flex"> | ||
<img class="mx-auto" | ||
{% if locale.logo_alt_text %} | ||
alt="{{locale.logo_alt_text}}" | ||
{% endif %} | ||
src="{{ site.baseurl }}/assets/images/logo.svg"/> | ||
</div> | ||
<div class="col-md my-auto"> | ||
<h2>{% if page.locale.name == 'Global' %}{{ locale.welcome }}{% else %}{{ locale.welcome_lang }}{% endif %}</h2> | ||
{% capture project %} | ||
<a href="https://opensuse.org">{{ locale.subtitle_project }}</a> | ||
{% endcapture %} | ||
<h5>{{ locale.subtitle | replace: '$project', project }}</h5> | ||
</div> | ||
<div class="col-12 text-center"> | ||
{% assign sorted = site.tags | sort %} | ||
{% for tag in sorted %} | ||
{% assign lang = site.localization.locales_set[tag.first] %} | ||
<a class="mx-2" href="{{ site.baseurl }}/{{ tag.first }}/">{{ lang.name }}</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="map"> | ||
{% include map.svg %} | ||
</div> | ||
<div class="container"> | ||
<div class="row col-md-10 mx-auto"> | ||
<div class="col-md-auto d-flex"> | ||
<img class="mx-auto" | ||
{% if locale.logo_alt_text %} | ||
alt="{{locale.logo_alt_text}}" | ||
{% endif %} | ||
src="{{ site.baseurl }}/assets/images/logo.svg"/> | ||
</div> | ||
<div class="col-md my-auto"> | ||
<h2>{% if page.locale.name == 'Global' %}{{ locale.welcome }}{% else %}{{ locale.welcome_lang }}{% endif %}</h2> | ||
{% capture project %} | ||
<a href="https://opensuse.org">{{ locale.subtitle_project }}</a> | ||
{% endcapture %} | ||
<h5>{{ locale.subtitle | replace: '$project', project }}</h5> | ||
</div> | ||
<div class="col-12 text-center"> | ||
{% assign sorted = site.tags | sort %} | ||
{% for tag in sorted %} | ||
{% assign lang = site.localization.locales_set[tag.first] %} | ||
<a class="mx-2" href="{{ site.baseurl }}/{{ tag.first }}/">{{ lang.name }}</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row col-md-10 mx-auto"> | ||
{% capture instructions %} | ||
<a href="https://en.opensuse.org/openSUSE:Planet">{{ locale.addnotice_instructions }}</a> | ||
{% endcapture %} | ||
<div class="alert alert-info w-100">{{ locale.addnotice | replace: '$instructions', instructions }}</div> | ||
</div> | ||
<div class="row col-md-10 mx-auto"> | ||
{% capture instructions %} | ||
<a href="https://en.opensuse.org/openSUSE:Planet">{{ locale.addnotice_instructions }}</a> | ||
{% endcapture %} | ||
<div class="alert alert-info w-100">{{ locale.addnotice | replace: '$instructions', instructions }}</div> | ||
</div> | ||
</div> |
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