Skip to content

Commit

Permalink
theme contents updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Miro0o committed Feb 4, 2024
1 parent da90318 commit 2493274
Show file tree
Hide file tree
Showing 110 changed files with 5,752 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _data/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Sample Authors
# Remove file or replace with your own

Billy Rick:
name: Billy Rick
picture: /images/bio-photo-2.jpg
twitter: "@billyrick"
links:
- title: Twitter
url: https://twitter.com/billyrick
icon: fab fa-twitter-square

Cornelius Fiddlebone:
name: Cornelius Fiddlebone
picture: /images/bio-photo.jpg
twitter: corneliusfiddlebone
16 changes: 16 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Sample site navigation bar links

- title: Home
url: /
# - title: Posts
# url: /posts/
# - title: Categories
# url: /categories/
# - title: Tags
# url: /tags/
# - title: Recipes
# url: /recipes/
# - title: Search
# url: /search/
# - title: External Page
# url: https://the-page.com/you-want-to-link-to.html
193 changes: 193 additions & 0 deletions _data/text.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# Theme text and labels


# English (default)
# -----------------
en: &DEFAULT_EN
skip_links: "Skip links"
skip_primary_nav: "Skip to primary navigation"
skip_content: "Skip to content"
skip_footer: "Skip to footer"
menu_label: "Menu"
by: "by"
min_read: "min read"
read_more: "Read more…"
categories: "Categories"
tags: "Tags"
pages_categorized: "Pages filed under"
pages_tagged: "Pages tagged"
table_of_contents: "Table of Contents"
results_found: "Result(s) found"
share: "Share"
tweet: "Tweet"
next: "Next"
previous: "Previous"
newer: "Newer"
older: "Older"
back_to_top: "Back to Top"
search_placeholder_text: "Enter your search term..."
powered_by: "Powered by"
en-US:
<<: *DEFAULT_EN
en-CA:
<<: *DEFAULT_EN
en-GB:
<<: *DEFAULT_EN
en-AU:
<<: *DEFAULT_EN


# German
# -----------------
de: &DEFAULT_DE
skip_links: "Links überspringen"
skip_primary_nav: "Zu Hauptmenü springen"
skip_content: "Zu Inhalt springen"
skip_footer: "Zu Fußzeile springen"
menu_label: "Menü"
by: "von"
min_read: "min read"
read_more: "Mehr lesen&hellip;"
categories: "Kategorien"
tags: "Tags"
pages_categorized: "Seiten kategorisiert als"
pages_tagged: "Seiten, getaggt als"
table_of_contents: "Inhaltsverzeichnis"
results_found: "Ergebnis(se) gefunden"
share: "Teilen"
tweet: "Tweet"
next: "Vor"
previous: "Zurück"
newer: "Neuer"
older: "Älter"
back_to_top: "Zurück nach Oben"
search_placeholder_text: "Suchtext eingeben..."
powered_by: "Unterstützt von"
de-DE:
<<: *DEFAULT_DE
de-AU:
<<: *DEFAULT_DE
de-CH:
<<: *DEFAULT_DE


# Spanish
# -------
es: &DEFAULT_ES
skip_links: "Saltar enlaces"
skip_primary_nav: "Saltar a la navegación primaria"
skip_content: "Saltar al contenido"
skip_footer: "Saltar al pie de página"
menu_label: "Menú"
by: "por"
min_read: "minuto(s) de lectura"
read_more: "Leer más&hellip;"
categories: "Categorías"
tags: "Etiquetas"
pages_categorized: "Páginas archivadas bajo"
pages_tagged: "Páginas etiquetadas"
table_of_contents: "Tabla de contenidos"
results_found: "Resultado(s) encontrado(s)"
share: "Compartir"
tweet: "Tweet"
next: "Siguiente"
previous: "Anterior"
newer: "Nuevo"
older: "Antiguo"
back_to_top: "Volver arriba"
search_placeholder_text: "Ingrese su término de búsqueda ..."
powered_by: "Energizado por"
es-ES:
<<: *DEFAULT_ES
es-CL:
<<: *DEFAULT_ES


# French
# -----------------
fr: &DEFAULT_FR
skip_links: "Sauter les liens"
skip_primary_nav: "Aller à la navigation principale"
skip_content: "Aller au contenu"
skip_footer: "Aller au pied de page"
menu_label: "Menu"
by: "par"
min_read: "min de lecture"
read_more: "En savoir plus&hellip;"
categories: "Catégories"
tags: "Tags"
pages_categorized: "Pages catégorisées dans"
pages_tagged: "Pages étiquettées"
table_of_contents: "Table des matières"
results_found: "Résultat(s) trouvé(s)"
share: "Partager"
tweet: "Tweet"
next: "Suivant"
previous: "Précédent"
newer: "Plus récent"
older: "Plus ancier"
back_to_top: "Retour en haut"
search_placeholder_text: "Entrer le terme à rechercher..."
powered_by: "Propulsé par"
fr-FR:
<<: *DEFAULT_FR
fr-BE:
<<: *DEFAULT_FR
fr-CA:
<<: *DEFAULT_FR

it: &DEFAULT_IT
skip_links: "Salta links"
skip_primary_nav: "Salta alla navigazione primaria"
skip_content: "Vai al contenuto"
skip_footer: "Vai al footer"
menu_label: "Menu"
by: "di"
min_read: "min. per leggere"
read_more: "Leggi di più&hellip;"
categories: "Categorie"
tags: "Tags"
pages_categorized: "Pagine categorizzate come"
pages_tagged: "Pagine con tag"
table_of_contents: "Indice dei Contenuti"
results_found: "Risultati della ricerca"
share: "Condividi"
tweet: "Tweet"
next: "Avanti"
previous: "Indietro"
newer: "Nuovi"
older: "Vecchi"
back_to_top: "Torna in cima"
search_placeholder_text: "Inserisci una parola da cercare..."
powered_by: "Generato da"
it-IT:
<<: *DEFAULT_IT

# Turkish
# -----------------
tr: &DEFAULT_TR
skip_links: "Linklere git"
skip_primary_nav: "Birincil navigasyona git"
skip_content: "İçeriğe git"
skip_footer: "Sayfa altbilgisine git"
menu_label: "Menü"
by: "by"
min_read: "dakikalık okuma"
read_more: "Daha fazla&hellip;"
categories: "Kategoriler"
tags: "Etiketler"
pages_categorized: "Pages filed under"
pages_tagged: "Pages tagged"
table_of_contents: "Başlıklar"
results_found: "Sonuç bulundu"
share: "Paylaş"
tweet: "Tweet"
next: "Sonraki"
previous: "Önceki"
newer: "Daha Yeni"
older: "Daha Eski"
back_to_top: "Başa Dön"
search_placeholder_text: "Arama teriminizi girin..."
powered_by: "Powered by"
tr-TR:
<<: *DEFAULT_TR
19 changes: 19 additions & 0 deletions _includes/disqus-comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% if page.comments != false and jekyll.environment == "production" %}
<div class="page-comments">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{ page.url | absolute_url }}';
this.page.identifier = '{{ page.url | absolute_url }}';
};

(function() {
var d = document, s = d.createElement('script');
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
{% endif %}
19 changes: 19 additions & 0 deletions _includes/documents-collection.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% assign entries = site[include.collection] %}

{% if include.sort_by == 'title' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'title' | reverse %}
{% else %}
{% assign entries = entries | sort: 'title' %}
{% endif %}
{% elsif include.sort_by == 'date' %}
{% if include.sort_order == 'reverse' %}
{% assign entries = entries | sort: 'date' | reverse %}
{% else %}
{% assign entries = entries | sort: 'date' %}
{% endif %}
{% endif %}

{%- for entry in entries -%}
{% include entry.html %}
{%- endfor -%}
6 changes: 6 additions & 0 deletions _includes/entry-date.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{%- unless page.layout == 'collection' -%}
<time class="entry-date dt-published" datetime="{{ entry.date | date_to_xmlschema }}">
{%- assign date_format = site.date_format | default: "%B %-d, %Y" -%}
{{ entry.date | date: date_format }}
</time>
{%- endunless -%}
38 changes: 38 additions & 0 deletions _includes/entry.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{% if entry.id %}
{% assign title = entry.title | markdownify | strip_html %}
{% else %}
{% assign title = entry.title %}
{% endif %}

<article class="entry h-entry">
<header class="entry-header">
<h3 class="entry-title p-name">
{% if entry.link %}
<a class="u-bookmark-of" href="{{ entry.link }}">{{ title }}</a> <a href="{{ entry.url | relative_url }}" rel="bookmark"><span class="link-arrow">&rarr;</span></a>
{% else %}
<a href="{{ entry.url | relative_url }}" rel="bookmark">{{ title }}</a>
{% endif %}
</h3>
{% if entry.image.thumbnail %}
{% assign entry_image = entry.image.thumbnail %}
{% unless entry_image contains '://' %}
{% assign entry_image = entry_image | relative_url %}
{% endunless %}
{% assign entry_image = entry_image | escape %}
<img class="entry-image u-photo" src="{{ entry_image }}" alt="">
{% endif %}
</header>
{% unless page.show_excerpts == false %}
<div class="entry-excerpt p-summary">
{% if entry.excerpt %}
{{ entry.excerpt | markdownify }}
{% endif %}
</div>
{% endunless %}
{% if site.read_time or entry.date and page.layout != 'collection' %}
<footer class="entry-meta">
{% if site.read_time %}{% include read-time.html %}{% endif %}
{% if entry.date %}{% include entry-date.html %}{% endif %}
</footer>
{% endif %}
</article>
3 changes: 3 additions & 0 deletions _includes/footer-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- start custom footer snippets -->

<!-- end custom footer snippets -->
24 changes: 24 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<footer id="footer" class="site-footer">
{% include footer-custom.html %}

{%- if site.footer_links -%}
<div class="social-icons">
{%- for footer_link in site.footer_links -%}
{%- if footer_link.url contains "://" -%}
{%- assign url = footer_link.url -%}
{%- else -%}
{%- assign url = footer_link.url | relative_url -%}
{%- endif -%}
<a class="social-icon" href="{{ url }}"><i class="{{ footer_link.icon | default: 'fas fa-link' }} fa-2x" title="{{ footer_link.title }}"></i></a>
{%- endfor -%}
</div>
{%- endif -%}

<div class="copyright">
{% if site.copyright %}
{{ site.copyright | markdownify }}
{% else %}
<p>&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://github.com/mmistakes/so-simple-theme" rel="nofollow">So Simple</a>.</p>
{% endif %}
</div>
</footer>
9 changes: 9 additions & 0 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
5 changes: 5 additions & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- start custom head snippets -->

<!-- insert favicons. use http://realfavicongenerator.net/ -->

<!-- end custom head snippets -->
1 change: 1 addition & 0 deletions _includes/head-feed.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="alternate" type="application/atom+xml" title="{{ site.title | escape }}" href="{{ site.feed.path | default: 'feed.xml' | relative_url }}">
1 change: 1 addition & 0 deletions _includes/head-seo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% seo %}
Loading

0 comments on commit 2493274

Please sign in to comment.