Migracja z Hugo na Zolę

pull/1/head
Tomasz Karbownicki 2021-08-31 23:25:50 +02:00
rodzic 78ecc916d1
commit 0fdd6d8a8b
17 zmienionych plików z 155 dodań i 63 usunięć

Wyświetl plik

@ -4,28 +4,15 @@ on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
- name: checkout
uses: actions/checkout@v2
- name: build_and_deploy
uses: shalzz/zola-deploy-action@v0.13.0
env:
PAGES_BRANCH: gh-pages
TOKEN: ${{ secrets.GITHUB_TOKEN }}

3
.gitmodules vendored
Wyświetl plik

@ -1,3 +0,0 @@
[submodule "themes/contrast-hugo"]
path = themes/contrast-hugo
url = https://github.com/niklasbuschmann/contrast-hugo.git

Wyświetl plik

@ -1,6 +0,0 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

Wyświetl plik

@ -1,22 +1,113 @@
baseURL = 'https://trojkat.github.io/zdecentralizowani/'
languageCode = 'pl'
title = 'Zdecentralizowani'
theme = 'contrast-hugo'
# The URL the site will be built for
base_url = "https://trojkat.github.io/zdecentralizowani/"
[params]
minimal = false
excerpts = false
theme = "tale-zola"
[menu]
# The basic information about the site
title = "Zdecentralizowani"
description = "Tala-Zola is a minimal Zola theme helping you to build a light blog, and you can customise any information of the blog without having to modify the codes of the template."
[[menu.main]]
identifier = "user"
name = "Dla użytkownicków"
url = "/user/"
weight = 10
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
[[menu.main]]
identifier = "admin"
name = "Dla administratorów"
url = "/admin/"
weight = 11
# Whether to generate a feed file for the site
generate_feed = true
# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
# feed_filename = "atom.xml"
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
# The taxonomies to be rendered for the site and their configuration.
taxonomies = [
{name = "tags", feed = true}, # each tag will have its own feed
]
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "base16-ocean-dark"
[extra]
# Basic infomation
author = "Tomasz Karbownicki"
github = "https://github.com/trojkat/zdecentralizowani"
email = "tomasz@karbownicki.com"
# Set date format in the site
timeformat = "%B %e, %Y" # e.g. June 14, 2021
# Whether to support KaTeX globally
katex = false
# Google Analytics
# If using this, add a value like "UA—XXXXXXXX-X"
google_analytics = ""
# Whether to use Disqus globally and set to your disqus id
# or you can enable the disqus on per post page with `extra.disqus` option
disqus = false
disqus_id = ""
## Open Graph + Twitter Cards
[extra.seo]
# this image will be used as fallback if a page has no image of its own
image = "tale.png"
image_height = 0
image_width = 0
og_locale = "en_US"
[extra.seo.twitter]
site = "aaranxu"
creator = "aaranxu"
[extra.seo.facebook]
admins = "ichunyun"
publisher = "ichunyun"
app_id = ""
# Webmaster verifications' tokens
[extra.seo.webmaster]
google = ""
bing = ""
alexa = ""
yandex = ""
baidu = ""
[[extra.menu]]
name = "Dla użytkowników"
url = "uzytkownicy"
[[extra.menu]]
name = "Dla administratorów"
url = "administratorzy"
[extra.footer]
start_year = "2020" # start year of the site
end_year = "2021" # end year of the site
info = "Made with <a href=\"https://www.getzola.org\">Zola</a> with <a href=\"https://github.com/aaranxu/tale-zola\">Tala-Zola</a> theme."
# The options below are used to refer to the expressions on the pages, and you
# can custom the contents as needed in your language.
[extra.expressions]
home = "O projekcie" # The homepage's name
pinned = "Pinned" # On the header of the post list
on = "on" # Like: on May 3, 2021
top = "Na górę" # Go to the top of the page in the post
tags = "Tagi" # In the page of Tags
# disqus comments block
disqus_discussion = "Discussion and feedback"
# The contents of the 404 page
p404 = "404: Nie znaleziono strony"
p404_info = "Ups! Nie można znaleźć podanej strony, upewnij się że adres jest poprawny."
p404_back_home_start = "Powróć"
p404_back_home_with_link = "do strony głównej"
p404_back_home_end = "."

24
content/_index.md 100644
Wyświetl plik

@ -0,0 +1,24 @@
+++
title = "O projekcie"
template = "section.html"
+++
Projekt na który właśnie trafiłeś to zbiór porad dotyczących **uruchomienia własnych** lub **korzystania z już istniejących** usług zdecentralizowanych. Zacznijmy jednak od tego czym są usługi zdecentralizowane i dlaczego warto się nimi zainteresować.
## Sieci scentralizowane
Internet jaki znasz obecnie składa się głównie z usług scentralizowanych, w których użytkownicy korzystają z platform zarządzanych przez pojedynczą firmę/korporację.
![sieć scentralizowana](siec-scentralizowana.png)
Z takimi sieciami mamy do czynienia na codzień korzystając w wyszukiwarki **Google**, podpatrując znajomych na **Facebook**u, oglądający film na **YouTube** czy słuchając muzyki na **Spotify**.
## Sieci rozproszone
![sieć rozproszona](siec-rozproszona.png)
## Sieci zdecentralizowane
![sieć zdecentralizowana](siec-zdecentralizowana.png)

Wyświetl plik

@ -0,0 +1,6 @@
+++
title = "Dla administratorów"
template = "section.html"
+++
Strona w budowie.

Wyświetl plik

@ -1,5 +0,0 @@
---
title: "O projekcie"
---
Projekt na który właśnie trafiłeś to zbiór porad dotyczących uruchomienia lub korzystania z usług zdecentralizowanych, czyli takich, które możemy uruchomić samemu lub z pomocą naszych bardziej technicznych znajomych.

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 32 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 21 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 33 KiB

Wyświetl plik

@ -0,0 +1,6 @@
+++
title = "Dla użytkowników"
template = "section.html"
+++
Strona w budowie.

Wyświetl plik

@ -1 +0,0 @@
{"Target":"scss/hyde-hyde.3081c4981fb69a2783dd36ecfdd0e6ba7a158d4cbfdd290ebce8f78ba0469fc6.css","MediaType":"text/css","Data":{"Integrity":"sha256-MIHEmB+2mieD3Tbs/dDmunoVjUy/3SkOvOj3i6BGn8Y="}}

Wyświetl plik

@ -1,3 +0,0 @@
@page{margin:1cm !important}body{font-size:17px;line-height:1.3;background:#fff;color:#000}.content{margin:0 auto;width:100%;float:none;display:initial}.container{width:100%;float:none;display:initial;padding-left:1rem;padding-right:1rem;margin:0 auto}img{max-width:100%}blockquote,ul{margin:0}.sidebar{display:none !important}.navigation{display:none !important}.post__related{display:none !important}.gist-meta{display:none !important}#disqus_thread{display:none !important}
/*# sourceMappingURL=print.css.map */

Wyświetl plik

@ -1 +0,0 @@
{"Target":"scss/print.2744dcbf8a0b2e74f8a50e4b34e5f441be7cf93cc7de27029121c6a09f9e77bc.css","MediaType":"text/css","Data":{"Integrity":"sha256-J0Tcv4oLLnT4pQ5LNOX0Qb58+TzH3icCkSHGoJ+ed7w="}}

@ -1 +0,0 @@
Subproject commit 9b3ec3d0243d3076342e53bbdcc6579265eb1cb6

1
themes/tale-zola 160000

@ -0,0 +1 @@
Subproject commit 297255d98722f37f05de579693a782e0b681cf82