Skip to content

Commit

Permalink
ai cert
Browse files Browse the repository at this point in the history
  • Loading branch information
borosbence committed Oct 5, 2024
1 parent 6464f9d commit 4fb1779
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 72 deletions.
25 changes: 0 additions & 25 deletions _includes/datetime.html

This file was deleted.

78 changes: 31 additions & 47 deletions _includes/trending-tags.html
Original file line number Diff line number Diff line change
@@ -1,65 +1,49 @@
<!-- The trending tags list -->

{% assign MAX = 10 %}

{% assign size_list = '' | split: '' %}
{% assign tag_list = '' | split: '' %}

{% for tag in site.tags %}
{% assign size = tag | last | size %}
{% assign size_list = size_list | push: size %}

{% assign tag_str = tag | first | append: '::' | append: size %}
{% assign tag_list = tag_list | push: tag_str %}
{% endfor %}

{% assign size_list = size_list | sort | reverse %}

{% assign tag_list = tag_list | sort_natural %}

{% assign trending_tags = '' | split: '' %}

{% for size in size_list limit: MAX %}
{% for tag_str in tag_list %}
{% assign tag = tag_str | split: '::' %}
{% assign tag_name = tag | first %}
{% assign tag_size = tag | last | plus: 0 %}
{% if tag_size == size %}
{% unless trending_tags contains tag_name %}
{% assign trending_tags = trending_tags | push: tag_name %}
{% break %}
{% endunless %}
{% endif %}
{% endfor %}
{% endfor %}

{% if trending_tags.size > 0 %}
<div id="access-tags">
<div class="panel-heading">{{- site.data.locales[include.lang].panel.trending_tags -}}</div>
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
{% for tag_name in trending_tags %}
{% assign url = tag_name | slugify | url_encode | prepend: '/tags/' | append: '/' %}
<a class="post-tag btn btn-outline-primary" href="{{ url | relative_url }}">{{ tag_name }}</a>
{% endfor %}
</div>
{% assign MAX = 10 %} {% assign size_list = '' | split: '' %} {% assign tag_list
= '' | split: '' %} {% for tag in site.tags %} {% assign size = tag | last |
size %} {% assign size_list = size_list | push: size %} {% assign tag_str = tag
| first | append: '::' | append: size %} {% assign tag_list = tag_list | push:
tag_str %} {% endfor %} {% assign size_list = size_list | sort | reverse %} {%
assign tag_list = tag_list | sort_natural %} {% assign trending_tags = '' |
split: '' %} {% for size in size_list limit: MAX %} {% for tag_str in tag_list
%} {% assign tag = tag_str | split: '::' %} {% assign tag_name = tag | first %}
{% assign tag_size = tag | last | plus: 0 %} {% if tag_size == size %} {% unless
trending_tags contains tag_name %} {% assign trending_tags = trending_tags |
push: tag_name %} {% break %} {% endunless %} {% endif %} {% endfor %} {% endfor
%} {% if trending_tags.size > 0 %}
<div id="access-tags">
<div class="panel-heading">
{{- site.data.locales[include.lang].panel.trending_tags -}}
</div>
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
{% for tag_name in trending_tags %} {% assign url = tag_name | slugify |
url_encode | prepend: '/tags/' | append: '/' %}
<a class="post-tag btn btn-outline-primary" href="{{ url | relative_url }}"
>{{ tag_name }}</a
>
{% endfor %}
</div>
</div>
{% endif %}

<!-- CHANGES TO ORIGINAL -->
{% assign links = "Blog linkek %}
<!-- Blog links -->
<div id="access-links" class="access">
<div class="panel-heading">{{ site.data.locales[lang].panel.links }}</div>
<div class="panel-heading">{{ links }}</div>
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
<ul class="list-unstyled">
{% assign categories = site.tabs | find: 'layout', 'categories' %}
{% assign tags = site.tabs | find: 'layout', 'tags' %}
{% assign archives = site.tabs | find: 'layout', 'archives' %}
{% assign categories = site.tabs | find: 'layout', 'categories' %} {%
assign tags = site.tabs | find: 'layout', 'tags' %} {% assign archives =
site.tabs | find: 'layout', 'archives' %}
<li class="lh-lg">
<i class="{{ categories.icon }} fa-fw me-xl-3"></i
><a href="/categories">{{ site.data.locales[lang].tabs.categories }}</a>
</li>
<li class="lh-lg">
<i class="{{ tags.icon }} fa-fw me-xl-3"></i><a href="/tags">{{ site.data.locales[lang].tabs.tags }}</a>
<i class="{{ tags.icon }} fa-fw me-xl-3"></i
><a href="/tags">{{ site.data.locales[lang].tabs.tags }}</a>
</li>
<li class="lh-lg">
<i class="{{ archives.icon }} fa-fw me-xl-3"></i
Expand Down
1 change: 1 addition & 0 deletions _tabs/bemutatkozas.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Szívesen segítek és vállalok informatikai munkákat:
| Németh László Gimnázium | Hódmezővásárhely |

## 📜Tanúsítványok
- [Generative AI for Educators](https://skillshop.exceedlms.com/student/award/nqU9hBj8j4tvXCsyetvMuatS)
- [Foundational C# with Microsoft](https://www.freecodecamp.org/certification/benzo90/foundational-c-sharp-with-microsoft)
- Szakképzési rendszer vizsgáztatási eljárási rendje (SZEREVI)

Expand Down

0 comments on commit 4fb1779

Please sign in to comment.