Compare commits
480 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5741999e1b | ||
![]() |
9c12ea9a67 | ||
![]() |
e94f09cb2a | ||
![]() |
6bdfdb5d40 | ||
![]() |
2a89478572 | ||
![]() |
a6edba7737 | ||
![]() |
128c22d01c | ||
![]() |
8909789006 | ||
![]() |
9cbbeceb10 | ||
![]() |
83862c28d6 | ||
![]() |
d8f73ec227 | ||
![]() |
496aa94a54 | ||
![]() |
48d25a7b2a | ||
![]() |
9eb508d183 | ||
![]() |
d39bc82d1d | ||
![]() |
a477254c59 | ||
![]() |
ebebf2a61c | ||
![]() |
7bf2463c52 | ||
![]() |
ef66008f0a | ||
![]() |
dbc0e1608a | ||
![]() |
f3f30dd01c | ||
![]() |
0d84dc73de | ||
![]() |
02f162bcb5 | ||
![]() |
c7cda6661e | ||
![]() |
86bcfdb849 | ||
![]() |
0aadfcad1d | ||
![]() |
72612a090a | ||
![]() |
25e9a9ec6e | ||
![]() |
5764ac78e1 | ||
![]() |
414acd400e | ||
![]() |
271d0125d9 | ||
![]() |
159f61c728 | ||
![]() |
fda4f9c3da | ||
![]() |
24957456a8 | ||
![]() |
93bd339837 | ||
![]() |
e73143c8a5 | ||
![]() |
9aaac46c94 | ||
![]() |
20ff0cda01 | ||
![]() |
3d4843c90c | ||
![]() |
8760eff53f | ||
![]() |
54662ad60b | ||
![]() |
f66f241970 | ||
![]() |
6d6ac9828d | ||
![]() |
7225d2bc32 | ||
![]() |
7dd4a46361 | ||
![]() |
701787e301 | ||
![]() |
9fbbb17009 | ||
![]() |
04d9013263 | ||
![]() |
f521132919 | ||
![]() |
6cc690f4f5 | ||
![]() |
5ee1373374 | ||
![]() |
86ffd9b0f4 | ||
![]() |
5711301a5a | ||
![]() |
9cd7bcb40d | ||
![]() |
cc923138bf | ||
![]() |
f7fa41811d | ||
![]() |
e3ddb5ed22 | ||
![]() |
9b78088048 | ||
![]() |
acdd22b6cf | ||
![]() |
4446fc6bd9 | ||
![]() |
d0a1cd0b5a | ||
![]() |
5f5fd116f7 | ||
![]() |
6bbb249a8a | ||
![]() |
fd9f615c31 | ||
![]() |
8cfab18e04 | ||
![]() |
66999924a2 | ||
![]() |
0523df7984 | ||
![]() |
271685d13f | ||
![]() |
d25646d188 | ||
![]() |
f112ba5659 | ||
![]() |
54601979b2 | ||
![]() |
696748f64b | ||
![]() |
146697ead1 | ||
![]() |
d72714d21a | ||
![]() |
ab2d458c23 | ||
![]() |
b3ad321064 | ||
![]() |
886ce0dd76 | ||
![]() |
87e47428dd | ||
![]() |
ab410368fe | ||
![]() |
abda8edbbe | ||
![]() |
33a7c142fa | ||
![]() |
fbeeff278d | ||
![]() |
e06447fe50 | ||
![]() |
3bcf04b93c | ||
![]() |
1040ba2ea9 | ||
![]() |
0727b3d69f | ||
![]() |
7166fb7e5a | ||
![]() |
9764686fad | ||
![]() |
9ff303e7be | ||
![]() |
65beb66ebd | ||
![]() |
9f206b51b2 | ||
![]() |
fab856fbcf | ||
![]() |
2f4e0391db | ||
![]() |
3b9a99d9b2 | ||
![]() |
f005a89abf | ||
![]() |
5275a432f6 | ||
![]() |
30d89c8ac4 | ||
![]() |
35eec2b0ff | ||
![]() |
b629ba3c8e | ||
![]() |
1380fe0eda | ||
![]() |
563e34a419 | ||
![]() |
ec43eec61c | ||
![]() |
1035dd1cbd | ||
![]() |
959428749b | ||
![]() |
16547f0bdf | ||
![]() |
f3d2f2a6ee | ||
![]() |
25d8ab2c89 | ||
![]() |
2fdd2a353d | ||
![]() |
5970f1ce87 | ||
![]() |
5074d389b4 | ||
![]() |
07baea5e08 | ||
![]() |
c94a25cc79 | ||
![]() |
9038e1872e | ||
![]() |
8749d59ede | ||
![]() |
bef3185a86 | ||
![]() |
2bbbeb8799 | ||
![]() |
71875efbdd | ||
![]() |
0aef581cfc | ||
![]() |
1ae305179f | ||
![]() |
4e466d05f7 | ||
![]() |
c51f2572e7 | ||
![]() |
596c398d8f | ||
![]() |
04b1779b3f | ||
![]() |
4c23255020 | ||
![]() |
68eb81ca3e | ||
![]() |
69eea3bf15 | ||
![]() |
07e47cbb29 | ||
![]() |
ce576e86ea | ||
![]() |
9fce81f1fe | ||
![]() |
966028ffc7 | ||
![]() |
2965c7ae70 | ||
![]() |
fb38106e2f | ||
![]() |
5eadf18f83 | ||
![]() |
2b628eab64 | ||
![]() |
01b4761734 | ||
![]() |
c69ecae3b6 | ||
![]() |
324aebeaf9 | ||
![]() |
165e3541ea | ||
![]() |
64574a3deb | ||
![]() |
79d6b4168a | ||
![]() |
abafa811d1 | ||
![]() |
ce8306bde2 | ||
![]() |
d62a28fa70 | ||
![]() |
ff68447fb8 | ||
![]() |
5f5b0ac39e | ||
![]() |
7ce8f6464f | ||
![]() |
f1e8d0fe49 | ||
![]() |
348f0086cb | ||
![]() |
c3315e540f | ||
![]() |
80d86d9efa | ||
![]() |
21f788e35e | ||
![]() |
18acf8636a | ||
![]() |
67284af17b | ||
![]() |
398ec85394 | ||
![]() |
a623e07ef8 | ||
![]() |
af26256660 | ||
![]() |
65e210492e | ||
![]() |
254682585f | ||
![]() |
18b1885a60 | ||
![]() |
caa33f86dc | ||
![]() |
d378c04cd3 | ||
![]() |
3dba28e5cc | ||
![]() |
bae092bda0 | ||
![]() |
4563cfc82d | ||
![]() |
43c4ec861c | ||
![]() |
a9f468ba36 | ||
![]() |
9feaad5e74 | ||
![]() |
6c8a395003 | ||
![]() |
dc9b94e67c | ||
![]() |
e749cbdd38 | ||
![]() |
fc2bf99499 | ||
![]() |
fc214f5d62 | ||
![]() |
9c384c9aaf | ||
![]() |
df244add53 | ||
![]() |
1caf96a82a | ||
![]() |
3ede509594 | ||
![]() |
cc49dc6652 | ||
![]() |
32b62fb1c4 | ||
![]() |
70e43577c5 | ||
![]() |
b53b8629fc | ||
![]() |
9a088aa096 | ||
![]() |
bf452926c8 | ||
![]() |
41e02e06b8 | ||
![]() |
c52fd9f305 | ||
![]() |
3f0f7871f4 | ||
![]() |
625054ca4c | ||
![]() |
5ca72c5d64 | ||
![]() |
cb0917696b | ||
![]() |
8c0571c029 | ||
![]() |
030aab7dda | ||
![]() |
9cf3f8b8c1 | ||
![]() |
a3e615cc0a | ||
![]() |
c2a32971ff | ||
![]() |
91a445397a | ||
![]() |
b5e90623ff | ||
![]() |
5163534bee | ||
![]() |
5d2d895de0 | ||
![]() |
7e23fb7368 | ||
![]() |
599aedbf1d | ||
![]() |
65f1958d49 | ||
![]() |
0a5c3267e2 | ||
![]() |
842b87e203 | ||
![]() |
b776ccaa30 | ||
![]() |
47b1bf9923 | ||
![]() |
404ca2ae5c | ||
![]() |
0cbb5c4722 | ||
![]() |
2c8bd231ad | ||
![]() |
ceec6aa091 | ||
![]() |
b0aeb03e5f | ||
![]() |
77ab7003c7 | ||
![]() |
2f940e7580 | ||
![]() |
d38a897e78 | ||
![]() |
a756569abd | ||
![]() |
e70c71e94b | ||
![]() |
046a016e20 | ||
![]() |
688cad20b0 | ||
![]() |
178e4c0169 | ||
![]() |
e066d10fa3 | ||
![]() |
a9188dba8f | ||
![]() |
2efb527d10 | ||
![]() |
8ab6fec6ac | ||
![]() |
1b0337cf69 | ||
![]() |
5039deb6b5 | ||
![]() |
e135259e8e | ||
![]() |
8cc811d365 | ||
![]() |
fdffdad1d8 | ||
![]() |
835865d848 | ||
![]() |
bd0e29e101 | ||
![]() |
e0d3443097 | ||
![]() |
c706451bda | ||
![]() |
0adefb7e16 | ||
![]() |
48b4a73cf0 | ||
![]() |
cf964753d7 | ||
![]() |
a51113c419 | ||
![]() |
9eea103d14 | ||
![]() |
41a558bae2 | ||
![]() |
f131ba2c18 | ||
![]() |
a6329d8d54 | ||
![]() |
009682de53 | ||
![]() |
d8244f5a4f | ||
![]() |
3067e47b92 | ||
![]() |
a9eb63f3cc | ||
![]() |
a9c072fae1 | ||
![]() |
4300db72c1 | ||
![]() |
1a7c62dd4b | ||
![]() |
4bdb6a67ec | ||
![]() |
37f9de43ab | ||
![]() |
bca0e41126 | ||
![]() |
e3d6648b5b | ||
![]() |
e210890a3c | ||
![]() |
bdab8b8db6 | ||
![]() |
79bca06548 | ||
![]() |
ffbb0e474b | ||
![]() |
a24f73ef2c | ||
![]() |
e044646b52 | ||
![]() |
995c063ce3 | ||
![]() |
2171416be9 | ||
![]() |
1b1113c85c | ||
![]() |
813a2eba33 | ||
![]() |
49b4967c1e | ||
![]() |
1622b2444a | ||
![]() |
9eff452b1c | ||
![]() |
175f1bac5e | ||
![]() |
fa38613cd5 | ||
![]() |
382d745838 | ||
![]() |
930a73eb2f | ||
![]() |
19870e0a65 | ||
![]() |
c56bccc0c1 | ||
![]() |
b98106ad72 | ||
![]() |
1096b4cdbf | ||
![]() |
464061c329 | ||
![]() |
58937b0439 | ||
![]() |
10898bc8cb | ||
![]() |
f925632e9f | ||
![]() |
2ece6ac75d | ||
![]() |
f6fb3818c7 | ||
![]() |
c2b7c03cc3 | ||
![]() |
af37dec88e | ||
![]() |
5c7d461c9a | ||
![]() |
700455d4ef | ||
![]() |
8dfc435fd8 | ||
![]() |
d7763ed29a | ||
![]() |
ad17468797 | ||
![]() |
65fe18d39b | ||
![]() |
f7d317f611 | ||
![]() |
6035164091 | ||
![]() |
d98b141bed | ||
![]() |
fa1f9bd625 | ||
![]() |
a8618f1e30 | ||
![]() |
17cfe56d54 | ||
![]() |
f105210a50 | ||
![]() |
2c595f37fc | ||
![]() |
7e6eff46b9 | ||
![]() |
69fa81b434 | ||
![]() |
0ca122879f | ||
![]() |
e540a74002 | ||
![]() |
b14e0892e8 | ||
![]() |
a52004260d | ||
![]() |
7b2dee9b95 | ||
![]() |
db3389fcfa | ||
![]() |
caec745698 | ||
![]() |
76f8016fec | ||
![]() |
e8c8e67d9e | ||
![]() |
ce77d1093b | ||
![]() |
8ea9614726 | ||
![]() |
e252db2a21 | ||
![]() |
8ee241820f | ||
![]() |
069c6f6441 | ||
![]() |
9543e952bb | ||
![]() |
9f78e7dc64 | ||
![]() |
4c9b48c7b7 | ||
![]() |
44d61b4ecd | ||
![]() |
806f91507c | ||
![]() |
d0e965adea | ||
![]() |
fe63e377c3 | ||
![]() |
e0d60c55ba | ||
![]() |
bf79a341db | ||
![]() |
07f63736f2 | ||
![]() |
d0e57f13f3 | ||
![]() |
7ce079cdae | ||
![]() |
0243112f92 | ||
![]() |
186654d106 | ||
![]() |
1ff648c5df | ||
![]() |
72266f90b4 | ||
![]() |
ef6a4c63a8 | ||
![]() |
41abf2b12c | ||
![]() |
e56f74b85b | ||
![]() |
2aa4c17319 | ||
![]() |
caab0d6822 | ||
![]() |
f77b4451ff | ||
![]() |
57bd81882d | ||
![]() |
3c4a527638 | ||
![]() |
fa12f68565 | ||
![]() |
7c0e735a0b | ||
![]() |
341c356ad2 | ||
![]() |
71a9f94afd | ||
![]() |
ed7c1ad156 | ||
![]() |
74743238b8 | ||
![]() |
890f1e86b0 | ||
![]() |
5a38fbe8a3 | ||
![]() |
bd2e62c0ed | ||
![]() |
2a6ddf250f | ||
![]() |
945441dd1c | ||
![]() |
1de3a208ee | ||
![]() |
138f068156 | ||
![]() |
2e080201a5 | ||
![]() |
55d1aa0d83 | ||
![]() |
fa012b9ee6 | ||
![]() |
62dd83b2ce | ||
![]() |
952c0b4515 | ||
![]() |
9b71e73005 | ||
![]() |
d826aa88f8 | ||
![]() |
a8819cdedb | ||
![]() |
055eff0e12 | ||
![]() |
37afb83191 | ||
![]() |
62128c6833 | ||
![]() |
b216f017db | ||
![]() |
7eb88b14ef | ||
![]() |
7b9c96f390 | ||
![]() |
113ece0f5e | ||
![]() |
e0fc30733c | ||
![]() |
93cf4781a7 | ||
![]() |
ab4448c168 | ||
![]() |
eb8a60be2e | ||
![]() |
30dd135b19 | ||
![]() |
5ac0a0b4fc | ||
![]() |
e00947a58f | ||
![]() |
f5273ff2dd | ||
![]() |
220140d74e | ||
![]() |
ed269f5135 | ||
![]() |
63a7add569 | ||
![]() |
12e6c457e0 | ||
![]() |
ae2c680778 | ||
![]() |
d59080614c | ||
![]() |
339bad44aa | ||
![]() |
8d9d909b8f | ||
![]() |
e37d1a7c79 | ||
![]() |
fbbbe644ee | ||
![]() |
0a51e11ed8 | ||
![]() |
1916923be7 | ||
![]() |
b224933e89 | ||
![]() |
10ad8fa2f2 | ||
![]() |
20d5d83ee6 | ||
![]() |
5f02d84635 | ||
![]() |
162c38dab5 | ||
![]() |
79e29e0c74 | ||
![]() |
8e03747e2d | ||
![]() |
1f26c8d66c | ||
![]() |
831c2c266c | ||
![]() |
67de878a3d | ||
![]() |
6b7a796cbf | ||
![]() |
ebf5f6ed99 | ||
![]() |
6b4c9c6759 | ||
![]() |
6c02b49d67 | ||
![]() |
4c40ded0ff | ||
![]() |
1b89836167 | ||
![]() |
18d49fb8c8 | ||
![]() |
9e01e6c1ba | ||
![]() |
5d212cee33 | ||
![]() |
ae34d724e3 | ||
![]() |
5fe255779d | ||
![]() |
fae802507f | ||
![]() |
5ae71527b2 | ||
![]() |
77214213f6 | ||
![]() |
173568a39e | ||
![]() |
ec146390b2 | ||
![]() |
d22823c19c | ||
![]() |
9fde47565f | ||
![]() |
6b5a329e4d | ||
![]() |
ab6e4be645 | ||
![]() |
136f7c0c42 | ||
![]() |
0f67423503 | ||
![]() |
a3ee98d2a4 | ||
![]() |
238ea56242 | ||
![]() |
a9e03702d8 | ||
![]() |
c87d5cd56b | ||
![]() |
82e0ba740a | ||
![]() |
9467612a3f | ||
![]() |
ba4320c908 | ||
![]() |
1cfb09a773 | ||
![]() |
8410c8fb3e | ||
![]() |
f37a03a614 | ||
![]() |
bbebbbb09a | ||
![]() |
dd5256a481 | ||
![]() |
653cbe1d2b | ||
![]() |
8b9e06d79e | ||
![]() |
ee545c29df | ||
![]() |
1ecdabd750 | ||
![]() |
58b7893205 | ||
![]() |
9d50ca2473 | ||
![]() |
4aede1c204 | ||
![]() |
4957fe36cf | ||
![]() |
0344af68b7 | ||
![]() |
6ed37a8d09 | ||
![]() |
d0e11c14bb | ||
![]() |
84a078bb3b | ||
![]() |
f887d04a69 | ||
![]() |
7333cbc6b1 | ||
![]() |
ad3de1452f | ||
![]() |
8d8785d4b1 | ||
![]() |
e3f343a54c | ||
![]() |
af02669c6a | ||
![]() |
19e8677039 | ||
![]() |
ead54622bd | ||
![]() |
f1c08075fb | ||
![]() |
a5ea62d9a5 | ||
![]() |
bba3e96d77 | ||
![]() |
73e688eba0 | ||
![]() |
6726bb3b42 | ||
![]() |
c314200602 | ||
![]() |
d453f8311f | ||
![]() |
633db74b5f | ||
![]() |
8fcdd510cd | ||
![]() |
6e0c89efa7 | ||
![]() |
ac58ec5b4a | ||
![]() |
8866d8b1ba | ||
![]() |
0579039fc6 | ||
![]() |
358721f066 | ||
![]() |
dddc8cc038 | ||
![]() |
b1bbcc8100 | ||
![]() |
173116bc36 | ||
![]() |
ee37a83f2f | ||
![]() |
1d58823f3d | ||
![]() |
ac9cb09c00 | ||
![]() |
cd4b2b5723 | ||
![]() |
ac5a03d609 | ||
![]() |
1b7c047e96 | ||
![]() |
54fe64eead | ||
![]() |
4b192538d7 | ||
![]() |
ebee9ee72c | ||
![]() |
c2c7cfb253 | ||
![]() |
ecd8a00166 | ||
![]() |
eaa3df60f3 | ||
![]() |
3e8a9694a5 | ||
![]() |
ea3e7644c8 | ||
![]() |
a694d27084 | ||
![]() |
a534ffbd35 | ||
![]() |
2cb399dc74 | ||
![]() |
f2c0188cdd | ||
![]() |
870fc9e446 |
30
.github/workflows/gh-pages.yml
vendored
Normal file
30
.github/workflows/gh-pages.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: github pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- content
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
# with:
|
||||
# submodules: true
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.60.1'
|
||||
# extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v2
|
||||
env:
|
||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
PUBLISH_BRANCH: master
|
||||
PUBLISH_DIR: ./public
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
public/
|
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
|
||||
image: registry.gitlab.com/pages/hugo:latest
|
||||
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
test:
|
||||
script:
|
||||
- hugo
|
||||
except:
|
||||
- master
|
||||
|
||||
pages:
|
||||
script:
|
||||
- hugo
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/beautifulhugo"]
|
||||
path = themes/beautifulhugo
|
||||
url = https://github.com/halogenica/beautifulhugo
|
1
404.html
1
404.html
|
@ -1 +0,0 @@
|
|||
<!doctype html><html lang=fr itemscope itemtype=http://schema.org/WebPage><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><title>404 Page not found - onestla.tech</title><script type=application/ld+json>{"@context":"http://schema.org","@type":"WebSite","name":"onestla.tech","url":"https:\/\/onestla.tech\/"}</script><script type=application/ld+json>{"@context":"http://schema.org","@type":"Organization","name":"","url":"https:\/\/onestla.tech\/"}</script><meta property="og:title" content="404 Page not found"><meta property="og:url" content="https://onestla.tech/404.html"><meta property="og:type" content="website"><meta property="og:site_name" content="onestla.tech"><meta name=twitter:title content="404 Page not found"><meta name=twitter:image content="https://onestla.tech/header.jpg"><meta name=twitter:card content="summary"><meta name=generator content="Hugo 0.60.1"><link rel=alternate href=https://onestla.tech/index.xml type=application/rss+xml title=onestla.tech><link rel=stylesheet href=https://onestla.tech/css/light.css></head><body><div role=main class="container main-content"><div class=text-center><h1 class=error-emoji></h1><p class=error-text>Oups, cette page n'existe pas. (erreur 404)</p></div></div><script>var errorEmojiContainer=document.getElementsByClassName('error-emoji')[0];var emojiArray=['\\(o_o)/','(o^^)o','(˚Δ˚)b','(^-^*)','(≥o≤)','(^_^)b','(·_·)','(=\'X\'=)','(>_<)','(;-;)','\\(^Д^)/',];var errorEmoji=emojiArray[Math.floor(Math.random()*emojiArray.length)];errorEmojiContainer.appendChild(document.createTextNode(errorEmoji));</script><div class=page-meta></div><footer class=footer><div class=container><div class=row><ul class="list-inline text-center footer-links"></ul><p class="credits copyright text-muted"><a href=https://onestla.tech/>onestla.tech</a></p><p class="credits theme-by text-muted">Carbure avec <a href=https://gohugo.io>Hugo v0.60.1</a> • Avec le Theme <a href=https://github.com/halogenica/beautifulhugo>Beautiful Hugo</a> adapté de <a href=https://deanattali.com/beautiful-jekyll/>Beautiful Jekyll</a></p></div></div></footer></body></html>
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
|
@ -1 +0,0 @@
|
|||
<!doctype html><html lang=fr itemscope itemtype=http://schema.org/WebPage><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><title>Overview of all pages with categories, ordered by category - onestla.tech</title><meta name=description content="A full overview of all pages with categories, ordered by category"><script type=application/ld+json>{"@context":"http://schema.org","@type":"WebSite","name":"onestla.tech","url":"https:\/\/onestla.tech\/"}</script><script type=application/ld+json>{"@context":"http://schema.org","@type":"Organization","name":"","url":"https:\/\/onestla.tech\/"}</script><meta property="og:title" content="Categories"><meta property="og:url" content="https://onestla.tech/categories/"><meta property="og:type" content="website"><meta property="og:site_name" content="onestla.tech"><meta name=twitter:title content="Categories"><meta name=twitter:image content="https://onestla.tech/header.jpg"><meta name=twitter:card content="summary"><meta name=generator content="Hugo 0.60.1"><link rel=alternate href=https://onestla.tech/index.xml type=application/rss+xml title=onestla.tech><link rel=stylesheet href=https://onestla.tech/css/light.css></head><body><header class=header-section><div class="intro-header no-img"><div class=container><div class=categories-heading><h1>Categories</h1><hr class=small></div></div></div></header><div class=container role=main><div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"><article class=post-preview><div class=panel-group id=accordion></div></article></div></div><footer class=footer><div class=container><div class=row><ul class="list-inline text-center footer-links"></ul><p class="credits copyright text-muted"><a href=https://onestla.tech/>onestla.tech</a></p><p class="credits theme-by text-muted">Carbure avec <a href=https://gohugo.io>Hugo v0.60.1</a> • Avec le Theme <a href=https://github.com/halogenica/beautifulhugo>Beautiful Hugo</a> adapté de <a href=https://deanattali.com/beautiful-jekyll/>Beautiful Jekyll</a></p></div></div></footer></body></html>
|
|
@ -1 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on onestla.tech</title><link>https://onestla.tech/categories/</link><description>Recent content in Categories on onestla.tech</description><generator>Hugo -- gohugo.io</generator><language>fr-fr</language><atom:link href="https://onestla.tech/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
8
config.toml
Normal file
8
config.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
baseURL = "https://onestla.tech/"
|
||||
defaultContentLanguage = "fr"
|
||||
languageCode = "fr-fr"
|
||||
title = "onestla.tech"
|
||||
theme = "beautifulhugo"
|
||||
|
||||
[[Params]]
|
||||
image = "header.jpg"
|
398
content/_index.md
Normal file
398
content/_index.md
Normal file
|
@ -0,0 +1,398 @@
|
|||
---
|
||||
title: "Appel des travailleuses et travailleurs du numérique pour une autre réforme des retraites"
|
||||
date: 2019-12-09T10:44:29+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Appel des travailleuses et travailleurs du numérique pour une autre réforme des retraites
|
||||
|
||||
L'automatisation peut être une chance pour l'humanité : elle permet de déléguer aux machines
|
||||
toujours plus de tâches fastidieuses, ingrates, complexes, ennuyeuses ou non épanouissantes.
|
||||
Les progrès fulgurants effectués au cours des dernières décennies dans les domaines de l'électronique,
|
||||
de l'informatique, des réseaux et de l'intelligence artificielle permettent tous les jours un peu plus
|
||||
de s'affranchir du travail.
|
||||
|
||||
Malheureusement, les monumentales richesses produites par les machines et les programmes développés par les actrices et acteurs du numérique
|
||||
sont elles aussi accaparées par une poignée de personnes, propriétaires ou actionnaires des multinationales de la tech
|
||||
ou de domaines qui en dépendent toujours plus.
|
||||
Cela représente [plus de 3 300 milliards de dollars rien qu'en 2019](https://www.statista.com/statistics/886397/total-tech-spending-worldwide/).
|
||||
Un exemple parmi d'autres, Bernard Arnault est un important actionnaire de Google, de Netflix mais aussi de 50 startups incubées à la Station F.
|
||||
Alors que les plus pauvres de nos aînés, [en particulier les femmes](https://www.inegalites.fr/La-pauvrete-selon-le-sexe?id_theme=22),
|
||||
doivent survivre avec 868,20 € par mois de minimum vieillesse, il gagne l'équivalent de [**3 millions d'euros par heure**](https://www.marianne.net/economie/bernard-arnault-vs-lucy-la-doyenne-de-l-humanite-aurait-du-travailler-10-millions-d-annees).
|
||||
|
||||
Le gouvernement voudrait nous faire croire qu'il faut travailler plus longtemps pour financer les retraites de nos anciens,
|
||||
que les cheminotes et cheminots, les soignantes et soignants, les pompières et pompiers ou les enseignantes et enseignants
|
||||
seraient des nantis vivant au crochet de la société.
|
||||
En réalité, les inégalités sont telles que
|
||||
[26 personnes possèdent plus à elles seules que 3,8 milliards d'humains réunis](https://www.oxfam.org/en/5-shocking-facts-about-extreme-global-inequality-and-how-even-it).
|
||||
À la deuxième position de ces 26 personnes se trouve [Bernard Arnault](https://www.ladepeche.fr/2019/07/17/le-patron-de-lvmh-bernard-arnault-depasse-bill-gates-et-devient-la-deuxieme-fortune-mondiale,8317658.php),
|
||||
juste derrière Jeff Bezos. Parmi ces 26, se trouvent quelques acteurs de la tech… mais aucun cheminot, ni soignant, ni pompier, ni enseignant.
|
||||
|
||||
Allonger le nombre d'années de travail nécessaires avant la retraite
|
||||
ou encore prétendre lutter contre le chômage tout en incitant à effectuer des heures supplémentaires
|
||||
est une aberration, un non-sens historique à l'heure de l'automatisation galopante.
|
||||
Se battre pour « la valeur travail » est non seulement futile mais dangereux : la société de consommation, [cette volonté imbécile de vouloir produire
|
||||
toujours plus et toujours plus inutile](https://reporterre.net/Les-riches-detruisent-la-planete-A-bas-les-riches)
|
||||
est en train de [détruire notre planète](https://www.lesechos.fr/idees-debats/cercle/pour-sauver-le-climat-il-faut-reguler-le-capitalisme-1031766).
|
||||
|
||||
Ces machines et programmes, parce qu'ils sont de grands facteurs de gains de productivité,
|
||||
sont également la cause de la destruction de la valeur de nombreuses compétences sur le marché du travail.
|
||||
Les femmes et hommes ainsi rendus précaires ne bénéficient d'aucune clémence de notre société :
|
||||
injonction leur est faite de se conformer à un marché du travail qui ne tolère pas qu'on ralentisse sa marche vers une rentabilité érigée
|
||||
comme une fin en soi.
|
||||
Tout ceci au mépris de l'avis des premières et premiers concernés, livrés à eux mêmes après qu'un algorithme ou qu'un robot les aient remplacés.
|
||||
|
||||
L'automatisation peut et doit servir l'humanité. Elle permettrait de travailler moins, **de partir en retraite plus tôt**,
|
||||
et dans d'excellentes conditions de vie, de dégager à tous du temps libre pour étudier, expérimenter, pratiquer les sports,
|
||||
les arts, passer du temps en famille ou entre amis ; de vivre.
|
||||
|
||||
Les programmes et les machines que nous créons peuvent contribuer à lutter contre la pauvreté,
|
||||
permettre à toutes et tous de vivre mieux et plus confortablement.
|
||||
Cela n'arrivera cependant qu'aux conditions que les richesses qu'ils produisent soient plus équitablement réparties
|
||||
et que leurs [impacts environnementaux](https://www.greenit.fr/etude-empreinte-environnementale-du-numerique-mondial/) soient réduits.
|
||||
|
||||
L'automatisation doit être mise à profit pour redonner du sens au travail, pour permettre de travailler mieux, et moins.
|
||||
À l'opposé de la standardisation du travail qui impose aux humains de s'adapter au rythme infernal des machines
|
||||
(courses Uber, livraisons Deliveroo, chargement des camions dans les entrepôts Amazon
|
||||
et autres tournées de distribution de colis guidées par des algorithmes),
|
||||
l'automatisation doit servir à le réhumaniser, à permettre aux travailleuses et aux travailleurs de regagner en autonomie,
|
||||
en initiative et en maîtrise de leur outil de production.
|
||||
En tant que conceptrices et concepteurs de ces programmes, de ces algorithmes,
|
||||
notre responsabilité est de veiller à ce que nos créations servent à aider, à libérer. De refuser de produire des
|
||||
outils conçus pour exploiter, asservir, [réprimer](https://github.com/drop-ice/dear-github-2.0) ou [polluer](https://www.climanifeste.net/).
|
||||
|
||||
Même si nous croyons que nous serons moins touchés par la réforme des retraites,
|
||||
souhaitons-nous pour autant que nos proches, nos connaissances ou simplement les autres travailleuses et
|
||||
travailleurs aient à choisir entre travailler jusqu'à 64, 65… 70 ans et vivre dans la précarité la plus totale ?
|
||||
Nous n'acceptons pas ce projet qui nous empêche de nous projeter dans l'avenir, la valeur du point étant fixée par décret.
|
||||
|
||||
Nous, développeuses et développeurs, administratrices et administrateurs systèmes, enseignantes et enseignants, chercheuses et chercheurs,
|
||||
designers, actrices et acteurs du numérique, du Web et des télécoms qui travaillons pour le service public, dans de grandes entreprises privées, dans des startups,
|
||||
dans des coopératives, en tant que salarié ou indépendant affirmons notre opposition à la réforme des retraites proposée par le gouvernement
|
||||
et militons à la place pour une réforme reposant sur d'autres bases de répartition des richesses :
|
||||
**abaisser l'âge de départ à la retraite et réduire le temps de travail** en mettant
|
||||
l'automatisation au service du bien public plutôt qu'à celui de quelques milliardaires.
|
||||
|
||||
En conséquence, nous appelons :
|
||||
|
||||
* à participer au mouvement de grève et aux manifestations contre la réforme,
|
||||
* à alimenter les [caisses de grève](https://mamot.fr/@gaspacho/103255035118067057) pour compenser la perte de revenus des grévistes,
|
||||
* à afficher sur nos sites web et dans nos entreprises notre soutien à la lutte contre la réforme.
|
||||
|
||||
## Signez !
|
||||
|
||||
[**Signez cet appel en ajoutant votre nom à ce document**](https://github.com/onestlatech/onestlatech.github.io/edit/content/content/_index.md).
|
||||
Pour ce faire, créez un compte GitHub.com si vous n'en avez pas, ajoutez votre signature **à la fin de la liste**), cliquez sur `Propose file change`, puis sur `Create pull request`, et encore une fois sur `Create pull request`.
|
||||
|
||||
Le format à respecter est : `[Prénom Nom](https://web-ou-reseau-social), fonction et éventuellement organisation si vous le souhaitez (pas obligatoire)`
|
||||
|
||||
## Signataires
|
||||
|
||||
### Actrices et acteurs du numérique
|
||||
|
||||
* [Marion Agé](https://github.com/K-mos), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Adrien Agez, développeur web
|
||||
* [Damien Alexandre](https://twitter.com/damienalexandre), développeur
|
||||
* Romy Alula, développeuse, salariée
|
||||
* [Hamza Amrouche](http://simperfit.fr/)
|
||||
* [Rémi Andrieux](https://github.com/pimolo), développeur web
|
||||
* Paul Andrieux, développeur
|
||||
* [Thibaut Arnoud](https://twitter.com/arnoudthibaut), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Jordan Aubert, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Morgan Auchede](https://twitter.com/mauchede)
|
||||
* Arnaud Bailly, Développeur
|
||||
* [Dylan Ballandras](https://www.dylan-ballandras.fr/), développeur, salarié
|
||||
* [Alexandre Balmes](https://alexandre.balmes.co), Consultant technique, Co-fondateur [Vanoix](https://vanoix.com)
|
||||
* Thierry Banel
|
||||
* [Quentin Barloy](https://twitter.com/nitneuq_y), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Timothée Barray](https://twitter.com/timbarray)
|
||||
* [Fabien Bataille], Développeur
|
||||
* [Benjamin Bayart](https://edgard.fdn.fr/cv.html)
|
||||
* [Guillaume Bec](https://twitter.com/Bes_fr)
|
||||
* Nina Belaid, Chercheuse en biochimie
|
||||
* Jeremy Barthe, Tech Lead à Mediapart
|
||||
* [Jérôme Béhuet](https://jbehuet.fr), Développeur - Freelance - DEEXIT
|
||||
* [Quentin Baudet](https://github.com/Thornolf), Développeur
|
||||
* Jade Bellereau, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [David Benqué](https://post.lurk.org/@air_pump), Designer/Chercheur
|
||||
* Quentin Berlemont, Tech Lead
|
||||
* [Leny Bernard](https://twitter.com/lenybernard), Co-fondateur / Développeur [Troopers](https://troopers.agency)
|
||||
* [Maximilien Bernard](https://github.com/mb3rnard), Développeur web
|
||||
* [Thomas Berriot](https://twitter.com/tberriot), [SCOP Incaya](https://www.incaya.fr)
|
||||
* [Yohann Berthon](https://github.com/ybert), Développeur chez Openrunner
|
||||
* Jacques Billard, Tech Lead à Mediapart
|
||||
* [bikepunk](https://mastodon.tetaneutral.net/@bikepunk), touillette travailleuse bénévole de la [FédérationFDN](https://ffdn.org)
|
||||
* Julien Blanchard, Développeur
|
||||
* [Antoine Bluchet](https://soyuka.me/), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Anne-Laure de Boissieu, Développeuse web
|
||||
* Paul Bonaud, Ingénieur Logiciel
|
||||
* [Pascal Borreli](https://twitter.com/pborreli), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Stephane Bortzmeyer](https://www.bortzmeyer.org/), ingénieur réseaux
|
||||
* Nicolas Bouilleaud, Codeurs en Liberté, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* [Armand Bour](https://twitter.com/Tydax), Full stack developer [GearedApp](https://geared.app)
|
||||
* [Benjamin Bouvier](https://github.com/bnjbvr), Développeur
|
||||
* [Clément Camin](https://www.keiruaprod.fr/), Freelance, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* Matthieu Caron, Lead Développeur
|
||||
* Guillaume Cauchois, Développeur Full-Stack
|
||||
* [Vincent Chalamon](https://github.com/vincentchalamon), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Robin Chalas](https://github.com/chalasr)
|
||||
* [Julien Chaumont](https://github.com/julienc91), Lead Developer
|
||||
* Paul Chavard, Freelance, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* Caroline Chuong, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Mathieu Clabaut](https://ontoblogie.clabaut.net), CTO [Systerel](https://www.systerel.fr)
|
||||
* [Valentin Claras](https://twitter.com/LarsVanCiental), Lead Dev chez M6Web
|
||||
* Arnaud Combellas, développeur, salarié
|
||||
* [Reginald Costa] (https://twitter.com/Talamasca1894) Product Manager à Mediapart (https://www.mediapart.fr/)
|
||||
* Coralie Coton, Designeuse [Troopers.agency](https://troopers.agency/fr/)
|
||||
* Chrystelle Coupat, Responsable Exploitation Mediapart
|
||||
* [Maxime Colin](https://github.com/maximecolin), Développeur Web
|
||||
* [Thomas Colin](http://thcol.in/#about), [Troopers.agency](https://troopers.agency/fr/)
|
||||
* Hervé Commowick, Co-Fondateur [Vanoix](https://vanoix.com)
|
||||
* [Grégory Copin](https://twitter.com/gregcop1), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Manfred Cossard, Ingénieur Cybersécurité
|
||||
* [Edouard Cunibil](https://twitter.com/DuaelFr), [Happyculture](https://happyculture.coop)
|
||||
* [Victor Darras](https://twitter.com/victordarras), Web Designer, Synbioz
|
||||
* Sébastien David, développeur
|
||||
* Amélie Defrance, Intégratrice
|
||||
* Baptiste Defrance, SOC Analyst
|
||||
* Justine Delalleau, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Benoit Delesalle, Développeur Backend, Synbioz
|
||||
* [Mathieu Dewet](https://twitter.com/mathieu_dewet), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Stéphane Deschamps](https://nota-bene.org/), expert web, salarié
|
||||
* Nicolas Desaleux, Lead dev
|
||||
* [Jérôme Desjardins](https://twitter.com/j_desjardin), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Adrien Di Pasquale - Développeur indépendant et enseignant au Wagon
|
||||
* [Romy Duhem-Verdière](http://romy.tetue.net), design UX & a11y en cabinet de conseil IT
|
||||
* [Kévin Dunglas](https://dunglas.fr), développeur, co-fondateur de [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Olivier Dolbeau](https://odolbeau.fr/)
|
||||
* Bruno Ebstein, développeur, salarié
|
||||
* Pierre Escobar, Freelance
|
||||
* [Fabre William](https://github.com/williamfabre), développeur
|
||||
* [Guewen Faivre](https://twitter.com/guewen_faivre)
|
||||
* [Suzanne Favot](https://twitter.com/sfavot), développeur [JoliCode](http://jolicode.com/)
|
||||
* Alexandre Fontfreyde, Lead développeur
|
||||
* [Jacques Foucry](https://adminblog.foucry.net) Sysadmin, BOFH
|
||||
* Hugo Fouques, dévéloppeur, Fretlink
|
||||
* Alexandre Friquet, infoPiiaf, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* [Vincent Fuger](https://twitter.com/Rhedynen_), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Yohann Gablowski, Développeur Web
|
||||
* Delphine Gauthier, Développeuse Web
|
||||
* [Clément Gibaud](https://twitter.com/cleming_), Administrateur système
|
||||
* [Mickaël Gillot](https://mickaelgillot.xyz), Ingénieur intégration, Worldline
|
||||
* Johan Girod, Freelance, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* Nicolas Gomes, Développeur Web
|
||||
* Ludovic Gonthier, Développeur web indépendant
|
||||
* Baptiste Goulard, Développeur web
|
||||
* Benjamin Gounine, Développeur Web - Consultant cybersécurité
|
||||
* Tristram Gräbener, Codeurs en Liberté, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* [Nicolas Grekas](https://twitter.com/nicolasgrekas), Ingénieur logiciels libres
|
||||
* Armaël Guéneau, doctorant en informatique
|
||||
* [David Guillot](https://www.contexte.com/equipe/david-guillot-71850.html), lead-dev
|
||||
* Aloïs Guillopé, Développeur
|
||||
* [Cécile Hamerel](https://twitter.com/cecilehamerel), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Richard Hanna](https://supertanuki.github.io/home/), développeur [fairness.coop](https://fairness.coop/)
|
||||
* [Nicolas Hart](https://www.nclshart.net/), Développeur
|
||||
* [Grégoire Hébert](https://knot.gheb.dev/), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Vincent Humeau, Développeur
|
||||
* [Grégoire Pineau](https://github.com/lyrixx), Développeur
|
||||
* [Adrien Humilière](https://twitter.com/adhumi), Mobile Lead
|
||||
* [Pierre Huyghe](https://twitter.com/MierreMuyghe), Développeur
|
||||
* [Jeremy James](https://twitter.com/jamesjrmy), Développeur [Vanoix](https://vanoix.com)
|
||||
* Jérémy Huard, Dévellopeur web, [Doeo](https://doeo.fr)
|
||||
* [Thomas Jarrand](https://github.com/tom32i), Développeur Web
|
||||
* [Frédéric Jost](https://twitter.com/fredericjost), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Emeric Kasbarian](https://twitter.com/emerick42), Développeur [Vanoix](https://vanoix.com)
|
||||
* Tam Kien Duong, data.gouv.fr
|
||||
* Thimy Kieu, Codeurs en Liberté, Développeuse web, Membre de la communauté beta.gouv.fr
|
||||
* [Antoine Kuhn](https://linkedin.com/in/antoine-kuhn), Développeur Fullstack, SpaceAble
|
||||
* [Paul Kocialkowski](https://www.paulk.fr), développeur
|
||||
* Pierre Kuhner, Ingénieur sécurité
|
||||
* Fabien Labrousse, développeur, salarié
|
||||
* [Brice Maurin](https://linkedin.com/in/bricemaurin), fondateur [deux.io, agence growth hacking](https://deux.io)
|
||||
* Pierre de La Morinerie, Codeurs en Liberté, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* Fabien Lamarque, Freelance - Velvet Lemons Consulting, Developpeur web ; Devops
|
||||
* Vincent Lara, Codeurs en Liberté, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* Alexis Leclerc, Freelance, Developpeur Rails, Etalab
|
||||
* [Baptiste Leduc](https://twitter.com/Korbeil_), Consultant Web, [JoliCode](https://jolicode.com/)
|
||||
* [Jacques Lefebvre](https://twitter.com/jockkos), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* François Le Gal, Responsable technique
|
||||
* [Jean-François Le Foll](https://twitter.com/JeffLeFoll), développeur, co-fondateur d'[Avalon-Lab](https://avalon-lab.fr)
|
||||
* Pierrick Le Gall, Développeur
|
||||
* Simon Lehericey, Freelance, dev web, Membre de la communauté beta.gouv.fr
|
||||
* Florian Lemaitre, Lead developer, salarié
|
||||
* [Guillaume Litaudon](https://yom.li/), développeur web, consultant et philosophe
|
||||
* Emmanuel Lorenzo de Brionne, chef de projet web
|
||||
* [Emmanuel Louisy-Gabriel](https://twitter.com/logamanu), [LiveMentor](https://twitter.com/_LiveMentor)
|
||||
* [Marc Loyat](https://twitter.com/mloyat)
|
||||
* [Thomas Luquet](https://twitter.com/thomas_babord), Solidaires Informatique
|
||||
* [Olivier Mansour](https://twitter.com/omansour), CTO adjoint
|
||||
* [Grégoire Marchal](https://twitter.com/Gregoire_M), développeur
|
||||
* [Hélène Marchois](https://twitter.com/HeleneMaitre), agiliste [fairness.coop](https://fairness.coop/)
|
||||
* [Mathieu Marchois](https://twitter.com/mmarchois), développeur [fairness.coop](https://fairness.coop/)
|
||||
* Julien Manganne, développeur
|
||||
* Colin Maudry, Conseiller indépendant en Open Data
|
||||
* Nawo Mbechezi, Développeur
|
||||
* [Thomas Maziere](https://twitter.com/thomasmaziere), [SCOP Incaya](https://www.incaya.fr)
|
||||
* [Mehdi Medjaoui](https://twitter.com/medjawii), fondateur de OAuth.io, GDPR.dev et APIdays conferences
|
||||
* [Benoît Merlet](https://twitter.com/trompouet), développeur senior
|
||||
* [Baptiste Meyer](https://twitter.com/meyer_baptiste), associé salarié, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Katia Molina](https://twitter.com/keepupkatia), formatrice-consultante webmarketing indépendante
|
||||
* [Raphaël Mor](https://twitter.com/raphaelmor), développeur
|
||||
* [Romain Neutron](https://twitter.com/romainneutron)
|
||||
* [Lê Thành Dũng Nguyễn](https://nguyentito.eu/), doctorant en informatique
|
||||
* [Olivier Nicole](https://otini.chnik.fr/), doctorant en informatique
|
||||
* [Thomas Nieto](https://twitter.com/tbenett_), développeur
|
||||
* [Adriana Nitescu](https://github.com/adreeana), développeur
|
||||
* Fabrice Nourisson, développeur, salarié
|
||||
* [Nicolas Ottavi](https://twitter.com/agentdifferent), [Agence Différente](http://new.agence-differente.fr/)
|
||||
* Jean Paliès, développeur
|
||||
* Tom Panier, développeur frontend, Synbioz
|
||||
* [Rémi Parmentier](https://twitter.com/HTeuMeuLeu), intégrateur
|
||||
* Thomas Pepio, développeur, Solidaires Informatique
|
||||
* [Bastien Picharles](https://twitter.com/kleinast), développeur
|
||||
* [Loïck Piera](https://twitter.com/pyrech), développeur web, [JoliCode](https://jolicode.com)
|
||||
* [Jules Pietri](https://twitter.com/julespietri)
|
||||
* [Damien Pobel](https://damien.pobel.fr/)
|
||||
* [Alan Poulain](https://twitter.com/_alanpoulain), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Mickael Prevot](https://twitter.com/mick_prev), Lead Developer [norsys](https://www.norsys.fr)
|
||||
* [Yann Prou](https://twitter.com/yanoucrea), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Nicolas Quéquet, développeur
|
||||
* Tristan Prudhomme, Développeur, Max Digital Services
|
||||
* [Yann Rabiller](https://twitter.com/Einenlum), développeur
|
||||
* [Anthony Ramine](https://twitter.com/nokusu), développeur Mozilla
|
||||
* [Mikael Randy](https://www.mikaelrandy.fr/), Architecte web
|
||||
* [Kevin Raynel](https://twitter.com/kraynl), Architecte Développeur, Theodo
|
||||
* Pierre Rebeilleau, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Erwan Richard](https://twitter.com/dhalsimfr), CTO [Le Phare](https://www.lephare.com)
|
||||
* [Johan Richer](https://twitter.com/JohanRicher), [Jailbreak](https://www.jailbreak.paris/)
|
||||
* Adrien Risser, Freelance, Développeur web, Membre de la communauté beta.gouv.fr
|
||||
* [Christophe Robillard](https://twitter.com/krichtof), Freelance, Developpeur web, Membre de la communaute beta.gouv.fr
|
||||
* Pauline Roca, Salariée, data-scientiste, Pixyl (medtech)
|
||||
* [Alex Rock](https://twitter.com/Pierstoval), Formateur et développeur web, membre de l'[AFUP](https://afup.org/)
|
||||
* [Flavien Rodrigues](https://twitter.com/RFlavien), développeur et enseignant, Tiime software
|
||||
* [Pierre Romera](https://pirhoo.com), CTO au Consortium International des Journalistes d'Investigation (ICIJ)
|
||||
* [Romain (Artwo) Rouault](https://twitter.com/Artwo), Graphiste et Développeur Frontend
|
||||
* [Guillaume Ponty](https://twitter.com/PontyGuillaume)
|
||||
* [Maxime Rouquet](https://twitter.com/marou_pp), Développeur de jeux vidéos, ancien président du Parti Pirate
|
||||
* Gilles Roustan, Développeur à Mediapart
|
||||
* [Mathieu Santostefano](https://twitter.com/welcomattic), développeur web chez [JoliCode](https://jolicode.com)
|
||||
* [Stanislas « Signez » Signoud](https://twitter.com/Signez), développeur et créateur de médias
|
||||
* Pierre Stazak, développeur web
|
||||
* Laury Sorriaux, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Alexandre Segura](https://twitter.com/alexmex_), [CoopCycle](https://coopcycle.org/fr/)
|
||||
* [Laurent Séguin](https://twitter.com/lcseguin), libriste et expert e-administration
|
||||
* [Yannick Snobbert](https://twitter.com/yannicksnobbert), Développeur
|
||||
* Olivier Sgoifo, développeur/devops, salarié
|
||||
* [Julien Soleilhavoup](https://twitter.com/DevInKilt), Lead développeur, membre de l'AFUP et de DrupalFr
|
||||
* [Gautier Souesme](https://cestca.eu), développeur indépendant, CESTCA SAS
|
||||
* Guillaume Subiron, Administrateur système, cogérant de [Sysnove](https://www.sysnove.fr)
|
||||
* Clément Talleu, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Jérôme Tanghe](https://www.deuchnord.fr/), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Samuel Thibault](http://dept-info.labri.fr/~thibault/), enseignant-chercheur
|
||||
* [Honoré Nintunze](https://twitter.com/nash_403), Développeur Web indépendant
|
||||
* Laury Sorriaux, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Alexandre Segura](https://twitter.com/alexmex_), [CoopCycle](https://coopcycle.org/fr/)
|
||||
* [Laurent Séguin](https://twitter.com/lcseguin), libriste et expert e-administration
|
||||
* Clément Talleu, [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [Jérôme Tanghe](https://www.deuchnord.fr/), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* [JF Thuillier](https://twitter.com/jeffthuillier), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* Nino Treyssat-Vincent, développeur web
|
||||
* Simon Meeschaert, développeur
|
||||
* Olivier Vallée, développeur
|
||||
* [Kévin Van Der Stracten](https://twitter.com/kvanderstracten), [Les-Tilleuls.coop](https://les-tilleuls.coop)
|
||||
* François Vantomme, développeur
|
||||
* Guillaume Vigier, Administrateur réseau Mediapart
|
||||
* [Rodrigue Villetard](https://twitter.com/gorghoa)
|
||||
* [Matthieu Werner](https://twitter.com/KeatonSeven), Consultant Web [JoliCode](https://jolicode.com/)
|
||||
* Séverine Wiltgen, SRE Mediapart
|
||||
* [Benjamin Winckell](https://twitter.com/oh_meeen), Developpeur Lead
|
||||
* [Yvain Liechti](https://twitter.com/ryuran78), développeur frontend
|
||||
* Nicolas Assing, développeur
|
||||
* [Maxime Steinhausser](https://github.com/ogizanagi), développeur
|
||||
* [Peio Roth](https://peio.now.sh/), développeur
|
||||
* [Marc-Aurel Audoin](https://twitter.com/MarcAurel_), développeur
|
||||
* Gaëtan Duchaussois, Admin sys
|
||||
* [Boris Schapira](https://boris.schapira.dev), professionnel du Web
|
||||
* [Karima Rafes](http://karimarafes.me/), enseignante-chercheuse et CEO de [BorderCloud](http://www.bordercloud.com/)
|
||||
* [Alexis Janvier](https://www.alexisjanvier.net), développeur
|
||||
* [David Leuliette](https://twitter.com/flexbox_), [Développeur Freelance](https://davidl.fr)
|
||||
* [Gaël Reyrol](https://twitter.com/GaelReyrol), [dans ma culotte](https://dansmaculotte.com)
|
||||
* [Arnaud Ligny](https://arnaudligny.fr), Consultant Web, mobile & e-commerce
|
||||
* [Romuald Priol](https://twitter.com/doc_roms), Développeur
|
||||
* [Mickaël Andrieu](https://twitter.com/mickael_andrieu), Architecte logiciel et formateur [PrestaShop](https://www.prestashop.com)
|
||||
* [Vincent Pomageot](https://twitter.com/vipom), responsable développement mobile [Mediapart](https://www.mediapart.fr)
|
||||
* Camille Douay, data scientist
|
||||
* [Florian Parreno](https://twitter.com/iFlohw), Lead Dev
|
||||
* [Rachid Hammaoui](https://twitter.com/makmaoui), Lead Dev
|
||||
* [Yvan Corsiglia](https://twitter.com/Striwx) Créateur de Jeux-Vidéo
|
||||
* [Jonathan Lefèvre](https://jonathanlefevre.com), Entrepreneur
|
||||
* [Stéphane Erard](https://twitter.com/sterard_), Développeur
|
||||
* [Clément Delmas](https://www.clementdelmas.fr/)
|
||||
* [Luc Bourdot](https://mastodon.etalab.gouv.fr/@luc) Pole Logiciels Libres & EOLE
|
||||
* [Félix Girault](https://fglt.fr), développeur
|
||||
* [Francois Marot](https://twitter.com/FrancoisMarot), développeur, Architecte, Human Being
|
||||
* [Théo Fidry](https://twitter.com/tfidry), développeur
|
||||
* [Benoit Tigeot](https://www.twitter.com/benoit_tgt), développeur
|
||||
* [Johan Baltié](https://www.linkedin.com/in/johan-balti%C3%A9-b913bb2/), développeur
|
||||
* [Michaël Lebeau](https://epistol.fr), développeur web
|
||||
* [Kyâne Pichou](https://www.kyane.fr), sysadmin
|
||||
* [Gilles Pietri](https://gilouweb.com) Admin sys et gérant de [Wolface.IT](https://www.wolface.fr)
|
||||
* [Cédric Levasseur](https://twitter.com/CedricLevasseur), Développeur
|
||||
* Cédric Couralet, développeur
|
||||
* Sylvain Lehmann, Développeur
|
||||
* [Ismaël Bouya](https://www.immae.eu), Ingénieur logiciel
|
||||
* Mathieu Kim Robin, développeur web
|
||||
* [Benjamin Sureau](https://github.com/fligflug), développeur web
|
||||
* [Michel Perrocheau](https://github.com/myrrkel), Développeur Python
|
||||
* [Brice Person](https://twitter.com/bjperson), Développeur
|
||||
* Nicolas Gourlé, développeur
|
||||
* [Anthony GRASSIOT](https://twitter.com/antograssiot), développeur
|
||||
* [Yohann Marillet](https://github.com/ymarillet), architecte d'applications / lead dev php/symfony
|
||||
* [Xavier Seignard](https://drangies.fr/), développeur web
|
||||
* [Guillaume Blairon](https://twitter.com/_yom_), engineering manager
|
||||
* [Cyrille Martraire](https://twitter.com/cyriux), développeur, CTO
|
||||
* [Sylvain Laurent](https://twitter.com/5yLv41n)
|
||||
* [Mathieu Wostyn](https://m.g3l.org/@mathieu), (chat-)touilleur digital (mais néanmoins agitateur numérique)
|
||||
* [Renan de Lima](https://twitter.com/renanoriginal), Développeur
|
||||
* [Mehdi Zakaria Benadel](https://github.com/murazaki), Ingénieur développeur
|
||||
* [Michel Guillou](https:/twitter.com/michelguillou), Observateur
|
||||
* [Thibault Duplessis](https://github.com/ornicar), code monkey
|
||||
* Johan Le Baut, Ingénieur développeur
|
||||
* Julien Manganne, Développeur
|
||||
* [Simon Bée](https://github.com/simon-bee), Développeur web
|
||||
* [Rémi Patrizio](https://twitter.com/remipatrizio), Développeur chez Antadis
|
||||
* [Julien 'Lta' BALLET](https://github.com/elthariel), Dev, Ops, Entrepreneur
|
||||
* Yves Bourguignon, administrateur système
|
||||
* [Jérémy Gay](https://exostic.com), Développeur, CEO
|
||||
* [Nicolas Fédou](https://twitter.com/CoulasFedou), Lead Développeur
|
||||
* François Barbe, tech lead
|
||||
* [Tanguy Falconnet](https://github.com/tanguyfalconnet), DevOpsDev
|
||||
* [Rémi Jarjat](https://www.twitter.fr/dreeckan), [Drakona](https://www.drakona.fr)
|
||||
* [Emmanuelle Helly](https://mastodon.tetaneutral.net/@numahell), Développeuse salariée
|
||||
* [Khrys](https://mamot.fr/@Khrys/), touillette bénévole chez [FDN](https://fdn.fr), [FédérationFDN](https://ffdn.org) et [Parinux](https://parinux.org/)
|
||||
* [Joseph Lemoine](https://github.com/Jihell), Directeur technique freelance
|
||||
* [Antoine Abt](https://twitter.com/brankgnol), Développeur web
|
||||
* [Gilles Mioni](https://github.com/GillesMioni), Chef de projet, retraité
|
||||
* Jacques Abadie, Solidaires informatique IDF
|
||||
* Marius Ghislain, Développeur
|
||||
* Lucie Steiblé, linguiste programmeuse
|
||||
* [Florian FERRIERE](https://github.com/fferriere), Développeur
|
||||
* [Franck Matsos](https://twitter.com/fmatsos), Développeur web
|
||||
* [Xavier Gorse](https://twitter.com/xgorse), Entrepreneur
|
||||
* [Martin Guilloux] (https://cv.nimrodel.fr), Ingénieur Système Linux
|
||||
* [Pascal Roux](https://github.com/pizzavomito), Développeur
|
||||
|
||||
### Organisations
|
||||
|
||||
* [Sophie Binet et Marie José Kotlicki, cosecrétaires générales de l'ugict cgt](http://www.ugict.cgt.fr/)
|
||||
* [Syndicat de l'industrie informatique CNT-Solidarité Ouvrière](https://www.syndicat-informatique.fr/)
|
||||
|
||||
## À propos
|
||||
|
||||
Au cours du week-end du 6 et 7 décembre 2019, plus d’une centaine d’actrices et d’acteurs du numérique se sont organisés,
|
||||
et se sont mis d'accord pour publier cet appel.
|
||||
Ce texte appelle les travailleuses et travailleurs du numérique à se mobiliser pour dire non à la réforme des retraites
|
||||
du gouvernement et pour proposer une alternative : réduire le temps de travail en mettant la technologie au service du
|
||||
bien commun.
|
||||
|
||||
Contact : onestlatech@protonmail.com
|
53
index.html
53
index.html
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Appel des travailleuses et travailleurs du numérique pour une autre réforme des retraites on onestla.tech</title><link>https://onestla.tech/</link><description>Recent content in Appel des travailleuses et travailleurs du numérique pour une autre réforme des retraites on onestla.tech</description><generator>Hugo -- gohugo.io</generator><language>fr-fr</language><lastBuildDate>Mon, 09 Dec 2019 10:44:29 +0100</lastBuildDate><atom:link href="https://onestla.tech/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
|
@ -1 +0,0 @@
|
|||
<!doctype html><html><head><title>https://onestla.tech/</title><link rel=canonical href=https://onestla.tech/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://onestla.tech/"></head></html>
|
|
@ -1 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://onestla.tech/</loc><lastmod>2019-12-09T10:44:29+01:00</lastmod></url><url><loc>https://onestla.tech/categories/</loc></url><url><loc>https://onestla.tech/tags/</loc></url></urlset>
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
@ -1 +0,0 @@
|
|||
<!doctype html><html lang=fr itemscope itemtype=http://schema.org/WebPage><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><title>Overview of all pages with tags, ordered by tag - onestla.tech</title><meta name=description content="A full overview of all pages with tags, ordered by tag"><script type=application/ld+json>{"@context":"http://schema.org","@type":"WebSite","name":"onestla.tech","url":"https:\/\/onestla.tech\/"}</script><script type=application/ld+json>{"@context":"http://schema.org","@type":"Organization","name":"","url":"https:\/\/onestla.tech\/"}</script><meta property="og:title" content="Tags"><meta property="og:url" content="https://onestla.tech/tags/"><meta property="og:type" content="website"><meta property="og:site_name" content="onestla.tech"><meta name=twitter:title content="Tags"><meta name=twitter:image content="https://onestla.tech/header.jpg"><meta name=twitter:card content="summary"><meta name=generator content="Hugo 0.60.1"><link rel=alternate href=https://onestla.tech/index.xml type=application/rss+xml title=onestla.tech><link rel=stylesheet href=https://onestla.tech/css/light.css></head><body><header class=header-section><div class="intro-header no-img"><div class=container><div class=tags-heading><h1>Tags</h1><hr class=small></div></div></div></header><div class=container role=main><div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"><article class=post-preview><div class=panel-group id=accordion></div></article></div></div><footer class=footer><div class=container><div class=row><ul class="list-inline text-center footer-links"></ul><p class="credits copyright text-muted"><a href=https://onestla.tech/>onestla.tech</a></p><p class="credits theme-by text-muted">Carbure avec <a href=https://gohugo.io>Hugo v0.60.1</a> • Avec le Theme <a href=https://github.com/halogenica/beautifulhugo>Beautiful Hugo</a> adapté de <a href=https://deanattali.com/beautiful-jekyll/>Beautiful Jekyll</a></p></div></div></footer></body></html>
|
|
@ -1 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tags on onestla.tech</title><link>https://onestla.tech/tags/</link><description>Recent content in Tags on onestla.tech</description><generator>Hugo -- gohugo.io</generator><language>fr-fr</language><atom:link href="https://onestla.tech/tags/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
22
themes/beautifulhugo/LICENSE
Normal file
22
themes/beautifulhugo/LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Original work Copyright (c) 2015 Dean Attali
|
||||
Modified work Copyright (c) 2017 Michael Romero
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
184
themes/beautifulhugo/README.md
Normal file
184
themes/beautifulhugo/README.md
Normal file
|
@ -0,0 +1,184 @@
|
|||
# Beautiful Hugo - An adaptation of the Beautiful Jekyll theme
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
$ mkdir themes
|
||||
$ cd themes
|
||||
$ git submodule add https://github.com/halogenica/beautifulhugo.git beautifulhugo
|
||||
|
||||
|
||||
See [the Hugo documentation](https://gohugo.io/themes/installing/) for more information.
|
||||
|
||||
## Extra Features
|
||||
|
||||
### Responsive
|
||||
|
||||
This theme is designed to look great on both large-screen and small-screen (mobile) devices.
|
||||
|
||||
### Syntax highlighting
|
||||
|
||||
This theme has support for either Hugo's lightning fast Chroma, or both server side and client side highlighting. See [the Hugo docs for more](https://gohugo.io/content-management/syntax-highlighting/).
|
||||
|
||||
#### Chroma - New server side syntax highlighting
|
||||
|
||||
To enable Chroma, add the following to your site parameters:
|
||||
|
||||
```
|
||||
pygmentsCodeFences = true
|
||||
pygmentsUseClasses = true
|
||||
```
|
||||
|
||||
Then, you can generate a different style by running:
|
||||
|
||||
```
|
||||
hugo gen chromastyles --style=trac > static/css/syntax.css
|
||||
```
|
||||
|
||||
#### Pygments - Old server side syntax highlighting
|
||||
|
||||
To use this feature install Pygments (`pip install Pygments`) and add the following to your site parameters:
|
||||
|
||||
```
|
||||
pygmentsStyle = "trac"
|
||||
pygmentsUseClassic = true
|
||||
```
|
||||
|
||||
Pygments is mostly compatable with the newer Chroma. It is slower but has some additional theme options. I recommend Chroma over Pygments. Pygments will use `syntax.css` for highlighting, unless you also set the config `pygmentsUseClasses = false` which will generate the style code directly in the HTML file.
|
||||
|
||||
#### Highlight.js - Client side syntax highlighting
|
||||
```
|
||||
[Params]
|
||||
useHLJS = true
|
||||
```
|
||||
|
||||
Client side highlighting does not require pygments to be installed. This will use `highlight.min.css` instead of `syntax.css` for highlighting (effectively disabling Chroma). Highlight.js has a wider range of support for languages and themes, and an alternative highlighting engine.
|
||||
|
||||
### Disqus support
|
||||
|
||||
To use this feature, uncomment and fill out the `disqusShortname` parameter in `config.toml`.
|
||||
|
||||
### Staticman support
|
||||
|
||||
Add *Staticman* configuration section in `config.toml` or `config.yaml`
|
||||
|
||||
Sample `config.toml` configuration
|
||||
|
||||
```
|
||||
[Params.staticman]
|
||||
api = "https://<API-ENDPOINT>/v3/entry/{GIT-HOST}/<USERNAME>/<REPOSITORY-BLOGNAME>/master/comments"
|
||||
[Params.staticman.recaptcha]
|
||||
sitekey: "6LeGeTgUAAAAAAqVrfTwox1kJQFdWl-mLzKasV0v"
|
||||
secret: "hsGjWtWHR4HK4pT7cUsWTArJdZDxxE2pkdg/ArwCguqYQrhuubjj3RS9C5qa8xu4cx/Y9EwHwAMEeXPCZbLR9eW1K9LshissvNcYFfC/b8KKb4deH4V1+oqJEk/JcoK6jp6Rr2nZV4rjDP9M7nunC3WR5UGwMIYb8kKhur9pAic="
|
||||
```
|
||||
|
||||
Note: The public `API-ENDPOINT` https://staticman.net is currently hitting its API limit, so one may use other API instances to provide Staticman comment service.
|
||||
|
||||
The section `[Params.staticman.recaptcha]` is *optional*. To add reCAPTCHA to your site, you have to replace the default values with your own ones (to be obtained from Google.) The site `secret` has to be encrypted with
|
||||
|
||||
https://<API-ENDPOINT>/v3/encrypt/<SITE-SECRET>
|
||||
|
||||
You must also configure the `staticman.yml` in you blog website.
|
||||
|
||||
```
|
||||
comments:
|
||||
allowedFields: ["name", "email", "website", "comment"]
|
||||
branch : "master"
|
||||
commitMessage : "New comment in {options.slug}"
|
||||
path: "data/comments/{options.slug}"
|
||||
filename : "comment-{@timestamp}"
|
||||
format : "yaml"
|
||||
moderation : true
|
||||
requiredFields : ['name', 'email', 'comment']
|
||||
transforms:
|
||||
email : md5
|
||||
generatedFields:
|
||||
date:
|
||||
type : "date"
|
||||
options:
|
||||
format : "iso8601"
|
||||
reCaptcha:
|
||||
enabled: true
|
||||
siteKey: "6LeGeTgUAAAAAAqVrfTwox1kJQFdWl-mLzKasV0v"
|
||||
secret: "hsGjWtWHR4HK4pT7cUsWTArJdZDxxE2pkdg/ArwCguqYQrhuubjj3RS9C5qa8xu4cx/Y9EwHwAMEeXPCZbLR9eW1K9LshissvNcYFfC/b8KKb4deH4V1+oqJEk/JcoK6jp6Rr2nZV4rjDP9M7nunC3WR5UGwMIYb8kKhur9pAic="
|
||||
```
|
||||
|
||||
If you *don't* have the section `[Params.staticman]` in `config.toml`, you *won't* need the section `reCaptcha` in `staticman.yml`
|
||||
|
||||
### Google Analytics
|
||||
|
||||
To add Google Analytics, simply sign up to [Google Analytics](https://www.google.com/analytics/) to obtain your Google Tracking ID, and add this tracking ID to the `googleAnalytics` parameter in `config.toml`.
|
||||
|
||||
### Commit SHA on the footer
|
||||
|
||||
If the source of your site is in a Git repo, the SHA corresponding to the commit the site is built from can be shown on the footer. To do so, two site parameters `commit` has to be defined in the config file `config.toml`:
|
||||
|
||||
```
|
||||
enableGitInfo = true
|
||||
[Params]
|
||||
commit = "https://github.com/<username>/<siterepo>/tree/"
|
||||
```
|
||||
|
||||
See at [vincenttam/vincenttam.gitlab.io](https://gitlab.com/vincenttam/vincenttam.gitlab.io) for an example of how to add it to a continuous integration system.
|
||||
|
||||
### Multilingual
|
||||
|
||||
To allow Beautiful Hugo to go multilingual, you need to define the languages
|
||||
you want to use inside the `languages` parameter on `config.toml` file, also
|
||||
redefining the content dir for each one. Check the `i18n/` folder to see all
|
||||
languages available.
|
||||
|
||||
```toml
|
||||
[languages]
|
||||
[languages.en]
|
||||
contentDir = "content/en" # English
|
||||
[languages.ja]
|
||||
contentDir = "content/ja" # Japanese
|
||||
[languages.br]
|
||||
contentDir = "content/br" # Brazilian Portuguese
|
||||
```
|
||||
|
||||
Now you just need to create a subdir within the `content/` folder for each
|
||||
language and just put stuff inside `page/` and `post/` regular directories.
|
||||
```
|
||||
content/ content/ content/
|
||||
└── en/ └── br/ └── ja/
|
||||
├── page/ ├── page/ ├── page/
|
||||
└── post/ └── post/ └── post/
|
||||
|
||||
```
|
||||
|
||||
### Extra shortcodes
|
||||
|
||||
There are two extra shortcodes provided (along with the customized figure shortcode):
|
||||
|
||||
#### Details
|
||||
|
||||
This simply adds the html5 detail attribute, supported on all *modern* browsers. Use it like this:
|
||||
|
||||
```
|
||||
{{% details "This is the details title (click to expand)" %}}
|
||||
This is the content (hidden until clicked).
|
||||
{{% /details %}}
|
||||
```
|
||||
|
||||
#### Split
|
||||
|
||||
This adds a two column side-by-side environment (will turn into 1 col for narrow devices):
|
||||
|
||||
```
|
||||
{{< columns >}}
|
||||
This is column 1.
|
||||
{{< column >}}
|
||||
This is column 2.
|
||||
{{< endcolumn >}}
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
This is an adaptation of the Jekyll theme [Beautiful Jekyll](https://deanattali.com/beautiful-jekyll/) by [Dean Attali](https://deanattali.com/aboutme#contact). It supports most of the features of the original theme, and many new features. It has diverged from the Jekyll theme over time, with years of community updates.
|
||||
|
||||
## License
|
||||
|
||||
MIT Licensed, see [LICENSE](https://github.com/halogenica/Hugo-BeautifulHugo/blob/master/LICENSE).
|
9
themes/beautifulhugo/archetypes/default.md
Normal file
9
themes/beautifulhugo/archetypes/default.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
author: ""
|
||||
type: ""
|
||||
date: {{ .Date }}
|
||||
subtitle: ""
|
||||
image: ""
|
||||
tags: []
|
||||
---
|
161
themes/beautifulhugo/data/beautifulhugo/social.toml
Normal file
161
themes/beautifulhugo/data/beautifulhugo/social.toml
Normal file
|
@ -0,0 +1,161 @@
|
|||
[[social_icons]]
|
||||
id = "email"
|
||||
url = "mailto:%s"
|
||||
title = "Email me"
|
||||
icon = "fas fa-envelope"
|
||||
|
||||
[[social_icons]]
|
||||
id = "facebook"
|
||||
url = "https://www.facebook.com/%s"
|
||||
title = "Facebook"
|
||||
icon = "fab fa-facebook"
|
||||
|
||||
[[social_icons]]
|
||||
id = "github"
|
||||
url = "https://github.com/%s"
|
||||
title = "GitHub"
|
||||
icon = "fab fa-github"
|
||||
|
||||
[[social_icons]]
|
||||
id = "gitlab"
|
||||
url = "https://gitlab.com/%s"
|
||||
title = "GitLab"
|
||||
icon = "fab fa-gitlab"
|
||||
|
||||
[[social_icons]]
|
||||
id = "bitbucket"
|
||||
url = "https://bitbucket.org/%s"
|
||||
title = "Bitbucket"
|
||||
icon = "fab fa-bitbucket"
|
||||
|
||||
[[social_icons]]
|
||||
id = "twitter"
|
||||
url = "https://twitter.com/%s"
|
||||
title = "Twitter"
|
||||
icon = "fab fa-twitter"
|
||||
|
||||
[[social_icons]]
|
||||
id = "slack"
|
||||
url = "https://%s.slack.com/"
|
||||
title = "Slack"
|
||||
icon = "fab fa-slack"
|
||||
|
||||
[[social_icons]]
|
||||
id = "reddit"
|
||||
url = "https://reddit.com/u/%s"
|
||||
title = "Reddit"
|
||||
icon = "fab fa-reddit-alien"
|
||||
|
||||
[[social_icons]]
|
||||
id = "linkedin"
|
||||
url = "https://linkedin.com/in/%s"
|
||||
title = "LinkedIn"
|
||||
icon = "fab fa-linkedin"
|
||||
|
||||
[[social_icons]]
|
||||
id = "xing"
|
||||
url = "https://www.xing.com/profile/%s"
|
||||
title = "Xing"
|
||||
icon = "fab fa-xing"
|
||||
|
||||
[[social_icons]]
|
||||
id = "stackoverflow"
|
||||
url = "https://stackoverflow.com/%s"
|
||||
title = "StackOverflow"
|
||||
icon = "fab fa-stack-overflow"
|
||||
|
||||
[[social_icons]]
|
||||
id = "snapchat"
|
||||
url = "https://www.snapchat.com/add/%s"
|
||||
title = "Snapchat"
|
||||
icon = "fab fa-snapchat-ghost"
|
||||
|
||||
[[social_icons]]
|
||||
id = "instagram"
|
||||
url = "https://www.instagram.com/%s"
|
||||
title = "Instagram"
|
||||
icon = "fab fa-instagram"
|
||||
|
||||
[[social_icons]]
|
||||
id = "youtube"
|
||||
url = "https://www.youtube.com/%s"
|
||||
title = "Youtube"
|
||||
icon = "fab fa-youtube"
|
||||
|
||||
[[social_icons]]
|
||||
id = "soundcloud"
|
||||
url = "https://soundcloud.com/%s"
|
||||
title = "SoundCloud"
|
||||
icon = "fab fa-soundcloud"
|
||||
|
||||
[[social_icons]]
|
||||
id = "spotify"
|
||||
url = "https://open.spotify.com/user/%s"
|
||||
title = "Spotify"
|
||||
icon = "fab fa-spotify"
|
||||
|
||||
[[social_icons]]
|
||||
id = "bandcamp"
|
||||
url = "https://%s.bandcamp.com/"
|
||||
title = "Bandcamp"
|
||||
icon = "fab fa-bandcamp"
|
||||
|
||||
[[social_icons]]
|
||||
id = "itchio"
|
||||
url = "https://itch.io/profile/%s"
|
||||
title = "Itch.io"
|
||||
icon = "fas fa-gamepad"
|
||||
|
||||
[[social_icons]]
|
||||
id = "keybase"
|
||||
url = "https://keybase.io/%s"
|
||||
title = "Keybase"
|
||||
icon = "fab fa-keybase"
|
||||
|
||||
[[social_icons]]
|
||||
id = "vk"
|
||||
url = "https://vk.com/%s"
|
||||
title = "VK"
|
||||
icon = "fab fa-vk"
|
||||
|
||||
[[social_icons]]
|
||||
id = "paypal"
|
||||
url = "https://paypal.me/%s"
|
||||
title = "PayPal"
|
||||
icon = "fab fa-paypal"
|
||||
|
||||
[[social_icons]]
|
||||
id = "telegram"
|
||||
url = "https://telegram.me/%s"
|
||||
title = "Telegram"
|
||||
icon = "fab fa-telegram"
|
||||
|
||||
[[social_icons]]
|
||||
id = "500px"
|
||||
url = "https://500px.com/%s"
|
||||
title = "500px"
|
||||
icon = "fab fa-500px"
|
||||
|
||||
[[social_icons]]
|
||||
id = "codepen"
|
||||
url = "https://codepen.io/%s"
|
||||
title = "CodePen"
|
||||
icon = "fab fa-codepen"
|
||||
|
||||
[[social_icons]]
|
||||
id = "kaggle"
|
||||
url = "https://www.kaggle.com/%s"
|
||||
title = "kaggle"
|
||||
icon = "fab fa-kaggle"
|
||||
|
||||
[[social_icons]]
|
||||
id = "mastodon"
|
||||
url = "https://%s"
|
||||
title = "Mastodon"
|
||||
icon = "fab fa-mastodon"
|
||||
|
||||
[[social_icons]]
|
||||
id = "weibo"
|
||||
url = "https://weibo.com/%s"
|
||||
title = "Weibo"
|
||||
icon = "fab fa-weibo"
|
113
themes/beautifulhugo/exampleSite/config.toml
Normal file
113
themes/beautifulhugo/exampleSite/config.toml
Normal file
|
@ -0,0 +1,113 @@
|
|||
baseurl = "https://username.github.io"
|
||||
DefaultContentLanguage = "en"
|
||||
#DefaultContentLanguage = "ja"
|
||||
title = "Beautiful Hugo"
|
||||
theme = "beautifulhugo"
|
||||
metaDataFormat = "yaml"
|
||||
pygmentsStyle = "trac"
|
||||
pygmentsUseClasses = true
|
||||
pygmentsCodeFences = true
|
||||
pygmentsCodefencesGuessSyntax = true
|
||||
#pygmentsUseClassic = true
|
||||
#pygmentOptions = "linenos=inline"
|
||||
#disqusShortname = "XXX"
|
||||
#googleAnalytics = "XXX"
|
||||
|
||||
[Params]
|
||||
# homeTitle = "Beautiful Hugo Theme" # Set a different text for the header on the home page
|
||||
subtitle = "Build a beautiful and simple website in minutes"
|
||||
mainSections = ["post","posts"]
|
||||
logo = "img/avatar-icon.png" # Expecting square dimensions
|
||||
favicon = "img/favicon.ico"
|
||||
dateFormat = "January 2, 2006"
|
||||
commit = false
|
||||
rss = true
|
||||
comments = true
|
||||
readingTime = true
|
||||
wordCount = true
|
||||
useHLJS = true
|
||||
socialShare = true
|
||||
delayDisqus = true
|
||||
showRelatedPosts = true
|
||||
# hideAuthor = true
|
||||
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
|
||||
|
||||
#[[Params.bigimg]]
|
||||
# src = "img/triangle.jpg"
|
||||
# desc = "Triangle"
|
||||
#[[Params.bigimg]]
|
||||
# src = "img/sphere.jpg"
|
||||
# desc = "Sphere"
|
||||
# # position: see values of CSS background-position.
|
||||
# position = "center top"
|
||||
#[[Params.bigimg]]
|
||||
# src = "img/hexagon.jpg"
|
||||
# desc = "Hexagon"
|
||||
|
||||
[Author]
|
||||
name = "Some Person"
|
||||
website = "yourwebsite.com"
|
||||
email = "youremail@domain.com"
|
||||
facebook = "username"
|
||||
github = "username"
|
||||
gitlab = "username"
|
||||
bitbucket = "username"
|
||||
twitter = "username"
|
||||
reddit = "username"
|
||||
linkedin = "username"
|
||||
xing = "username"
|
||||
stackoverflow = "users/XXXXXXX/username"
|
||||
snapchat = "username"
|
||||
instagram = "username"
|
||||
youtube = "user/username" # or channel/channelname
|
||||
soundcloud = "username"
|
||||
spotify = "username"
|
||||
bandcamp = "username"
|
||||
itchio = "username"
|
||||
vk = "username"
|
||||
paypal = "username"
|
||||
telegram = "username"
|
||||
500px = "username"
|
||||
codepen = "username"
|
||||
mastodon = "url"
|
||||
kaggle = "username"
|
||||
weibo = "username"
|
||||
slack = "username"
|
||||
|
||||
[[menu.main]]
|
||||
name = "Blog"
|
||||
url = ""
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
name = "About"
|
||||
url = "page/about/"
|
||||
weight = 3
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "samples"
|
||||
name = "Samples"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
parent = "samples"
|
||||
name = "Big Image Sample"
|
||||
url = "post/2017-03-07-bigimg-sample"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
parent = "samples"
|
||||
name = "Math Sample"
|
||||
url = "post/2017-03-05-math-sample"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
parent = "samples"
|
||||
name = "Code Sample"
|
||||
url = "post/2016-03-08-code-sample"
|
||||
weight = 3
|
||||
|
||||
[[menu.main]]
|
||||
name = "Tags"
|
||||
url = "tags"
|
||||
weight = 3
|
2
themes/beautifulhugo/exampleSite/content/_index.md
Normal file
2
themes/beautifulhugo/exampleSite/content/_index.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
## Front Page Content
|
||||
`beautifulhugo` supports content on your front page. Edit `/content/_index.md` to change what appears here. Delete `/content/_index.md` if you don't want any content here.
|
16
themes/beautifulhugo/exampleSite/content/page/about.md
Normal file
16
themes/beautifulhugo/exampleSite/content/page/about.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: About me
|
||||
subtitle: Why you'd want to go on a date with me
|
||||
comments: false
|
||||
---
|
||||
|
||||
My name is Inigo Montoya. I have the following qualities:
|
||||
|
||||
- I rock a great mustache
|
||||
- I'm extremely loyal to my family
|
||||
|
||||
What else do you need?
|
||||
|
||||
### my history
|
||||
|
||||
To be honest, I'm having some trouble remembering right now, so why don't you just watch [my movie](http://en.wikipedia.org/wiki/The_Princess_Bride_%28film%29) and it will answer **all** your questions.
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: First post!
|
||||
date: 2015-01-05
|
||||
---
|
||||
|
||||
This is my first post, how exciting!
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Pirates arrrr
|
||||
date: 2015-01-15
|
||||
---
|
||||
|
||||
Piracy is typically an act of robbery or criminal violence at sea. The term can include acts committed on land, in the air, or in other major bodies of water or on a shore. It does not normally include crimes committed against persons traveling on the same vessel as the perpetrator (e.g. one passenger stealing from others on the same vessel). The term has been used throughout history to refer to raids across land borders by non-state agents.
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: Soccer
|
||||
subtitle: Best sport ever!
|
||||
date: 2015-01-19
|
||||
---
|
||||
|
||||
From Wikipedia:
|
||||
|
||||
Association football, more commonly known as football or soccer,[2] is a sport played between two teams of eleven players with a spherical ball. It is played by 250 million players in over 200 countries, making it the world's most popular sport.[3][4][5][6] The game is played on a rectangular field with a goal at each end. The object of the game is to score by getting the ball into the opposing goal.
|
||||
|
||||
The goalkeepers are the only players allowed to touch the ball with their hands or arms while it is in play and then only in their penalty area. Outfield players mostly use their feet to strike or pass the ball, but may use their head or torso to strike the ball instead. The team that scores the most goals by the end of the match wins. If the score is level at the end of the game, either a draw is declared or the game goes into extra time and/or a penalty shootout depending on the format of the competition. The Laws of the Game were originally codified in England by The Football Association in 1863. Association football is governed internationally by the International Federation of Association Football (FIFA; French: Fédération Internationale de Football Association) which organises a World Cup every four years.[7]
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Dear diary
|
||||
date: 2015-01-27
|
||||
---
|
||||
|
||||
What is it with that Mary girl? Dragging me to school every day. As if I had a choice. What you don't hear in those nursery rhymes is that she starves me if I don't go to school with her; it's the only way I can stay alive! I'm thinking about being adopted by Little Bo Peep, sure I may get lost, but anything is better than being with Mary and those little brats at school (shudder, shudder).
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
title: To be
|
||||
subtitle: ... or not to be?
|
||||
date: 2015-02-13
|
||||
---
|
||||
|
||||
To be, or not to be--that is the question:
|
||||
Whether 'tis nobler in the mind to suffer
|
||||
The slings and arrows of outrageous fortune
|
||||
Or to take arms against a sea of troubles
|
||||
And by opposing end them. To die, to sleep--
|
||||
No more--and by a sleep to say we end
|
||||
The heartache, and the thousand natural shocks
|
||||
That flesh is heir to. 'Tis a consummation
|
||||
Devoutly to be wished. To die, to sleep--
|
||||
To sleep--perchance to dream: ay, there's the rub,
|
||||
For in that sleep of death what dreams may come
|
||||
When we have shuffled off this mortal coil,
|
||||
Must give us pause. There's the respect
|
||||
That makes calamity of so long life.
|
||||
For who would bear the whips and scorns of time,
|
||||
Th' oppressor's wrong, the proud man's contumely
|
||||
The pangs of despised love, the law's delay,
|
||||
The insolence of office, and the spurns
|
||||
That patient merit of th' unworthy takes,
|
||||
When he himself might his quietus make
|
||||
With a bare bodkin? Who would fardels bear,
|
||||
To grunt and sweat under a weary life,
|
||||
But that the dread of something after death,
|
||||
The undiscovered country, from whose bourn
|
||||
No traveller returns, puzzles the will,
|
||||
And makes us rather bear those ills we have
|
||||
Than fly to others that we know not of?
|
||||
Thus conscience does make cowards of us all,
|
||||
And thus the native hue of resolution
|
||||
Is sicklied o'er with the pale cast of thought,
|
||||
And enterprise of great pitch and moment
|
||||
With this regard their currents turn awry
|
||||
And lose the name of action. -- Soft you now,
|
||||
The fair Ophelia! -- Nymph, in thy orisons
|
||||
Be all my sins remembered.
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
title: Test markdown
|
||||
subtitle: Each post also has a subtitle
|
||||
date: 2015-02-20
|
||||
tags: ["example", "markdown"]
|
||||
---
|
||||
|
||||
You can write regular [markdown](http://markdowntutorial.com/) here and [Hugo](https://gohugo.io) will automatically convert it to a nice webpage. I strongly encourage you to [take 5 minutes to learn how to write in markdown](http://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.
|
||||
|
||||
**Here is some bold text**
|
||||
|
||||
## Here is a secondary heading
|
||||
|
||||
Here's a useless table:
|
||||
|
||||
| Number | Next number | Previous number |
|
||||
| :------ |:--- | :--- |
|
||||
| Five | Six | Four |
|
||||
| Ten | Eleven | Nine |
|
||||
| Seven | Eight | Six |
|
||||
| Two | Three | One |
|
||||
|
||||
|
||||
How about a yummy crepe?
|
||||
|
||||

|
||||
|
||||
Here's a code chunk with syntax highlighting:
|
||||
|
||||
```javascript
|
||||
var foo = function(x) {
|
||||
return(x + 5);
|
||||
}
|
||||
foo(3)
|
||||
```
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: Flake it till you make it
|
||||
subtitle: Excerpt from Soulshaping by Jeff Brown
|
||||
date: 2015-02-26
|
||||
bigimg: [{src: "/img/path.jpg", desc: "Path"}]
|
||||
---
|
||||
|
||||
Under what circumstances should we step off a path? When is it essential that we finish what we start? If I bought a bag of peanuts and had an allergic reaction, no one would fault me if I threw it out. If I ended a relationship with a woman who hit me, no one would say that I had a commitment problem. But if I walk away from a seemingly secure route because my soul has other ideas, I am a flake?
|
||||
|
||||
The truth is that no one else can definitively know the path we are here to walk. It’s tempting to listen—many of us long for the omnipotent other—but unless they are genuine psychic intuitives, they can’t know. All others can know is their own truth, and if they’ve actually done the work to excavate it, they will have the good sense to know that they cannot genuinely know anyone else’s. Only soul knows the path it is here to walk. Since you are the only one living in your temple, only you can know its scriptures and interpretive structure.
|
||||
|
||||
At the heart of the struggle are two very different ideas of success—survival-driven and soul-driven. For survivalists, success is security, pragmatism, power over others. Success is the absence of material suffering, the nourishing of the soul be damned. It is an odd and ironic thing that most of the material power in our world often resides in the hands of younger souls. Still working in the egoic and material realms, they love the sensations of power and focus most of their energy on accumulation. Older souls tend not to be as materially driven. They have already played the worldly game in previous lives and they search for more subtle shades of meaning in this one—authentication rather than accumulation. They are often ignored by the culture at large, although they really are the truest warriors.
|
||||
|
||||
A soulful notion of success rests on the actualization of our innate image. Success is simply the completion of a soul step, however unsightly it may be. We have finished what we started when the lesson is learned. What a fear-based culture calls a wonderful opportunity may be fruitless and misguided for the soul. Staying in a passionless relationship may satisfy our need for comfort, but it may stifle the soul. Becoming a famous lawyer is only worthwhile if the soul demands it. It is an essential failure if you are called to be a monastic this time around. If you need to explore and abandon ten careers in order to stretch your soul toward its innate image, then so be it. Flake it till you make it.
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
title: Code Sample
|
||||
subtitle: Using Hugo or Pygments
|
||||
date: 2016-03-08
|
||||
tags: ["example", "code"]
|
||||
---
|
||||
|
||||
The following are two code samples using syntax highlighting.
|
||||
|
||||
<!--more-->
|
||||
|
||||
The following is a code sample using triple backticks ( ``` ) code fencing provided in Hugo. This is client side highlighting and does not require any special installation.
|
||||
|
||||
```javascript
|
||||
var num1, num2, sum
|
||||
num1 = prompt("Enter first number")
|
||||
num2 = prompt("Enter second number")
|
||||
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
|
||||
alert("Sum = " + sum) // "+" means combine into a string
|
||||
```
|
||||
|
||||
|
||||
The following is a code sample using the "highlight" shortcode provided in Hugo. This is server side highlighting and requires Python and Pygments to be installed.
|
||||
|
||||
{{< highlight javascript >}}
|
||||
var num1, num2, sum
|
||||
num1 = prompt("Enter first number")
|
||||
num2 = prompt("Enter second number")
|
||||
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
|
||||
alert("Sum = " + sum) // "+" means combine into a string
|
||||
{{</ highlight >}}
|
||||
|
||||
|
||||
And here is the same code with line numbers:
|
||||
|
||||
{{< highlight javascript "linenos=inline">}}
|
||||
var num1, num2, sum
|
||||
num1 = prompt("Enter first number")
|
||||
num2 = prompt("Enter second number")
|
||||
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
|
||||
alert("Sum = " + sum) // "+" means combine into a string
|
||||
{{</ highlight >}}
|
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
title: Math Sample
|
||||
subtitle: Using KaTeX
|
||||
date: 2017-03-05
|
||||
tags: ["example", "math"]
|
||||
---
|
||||
|
||||
KaTeX can be used to generate complex math formulas server-side.
|
||||
|
||||
$$
|
||||
\phi = \frac{(1+\sqrt{5})}{2} = 1.6180339887\cdots
|
||||
$$
|
||||
|
||||
Additional details can be found on [GitHub](https://github.com/Khan/KaTeX) or on the [Wiki](http://tiddlywiki.com/plugins/tiddlywiki/katex/).
|
||||
<!--more-->
|
||||
|
||||
### Example 1
|
||||
|
||||
If the text between $$ contains newlines it will rendered in display mode:
|
||||
```
|
||||
$$
|
||||
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
||||
$$
|
||||
```
|
||||
$$
|
||||
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
||||
$$
|
||||
|
||||
|
||||
### Example 2
|
||||
```
|
||||
$$
|
||||
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
|
||||
$$
|
||||
```
|
||||
$$
|
||||
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
|
||||
$$
|
||||
|
||||
|
||||
### Example 3
|
||||
```
|
||||
$$
|
||||
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
|
||||
$$
|
||||
```
|
||||
$$
|
||||
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
|
||||
$$
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: Big Image Sample
|
||||
subtitle: Using Multiple Images
|
||||
date: 2017-03-07
|
||||
tags: ["example", "bigimg"]
|
||||
bigimg: [{src: "/img/triangle.jpg", desc: "Triangle"}, {src: "/img/sphere.jpg", desc: "Sphere"}, {src: "/img/hexagon.jpg", desc: "Hexagon"}]
|
||||
---
|
||||
|
||||
The image banners at the top of the page are refered to as "bigimg" in this theme. They are optional, and one more more can be specified. If more than one is specified, the images rotate every 10 seconds. In the front matter, bigimgs are specified using an array of hashes.
|
||||
|
||||
<!--more-->
|
||||
|
||||
A single bigimg can be specified in the front matter by the following YAML:
|
||||
```
|
||||
bigimg: [{src: "/img/triangle.jpg", desc: "Triangle"}]
|
||||
```
|
||||
|
||||
Multiple bigimgs can be specified in the front matter by the following YAML:
|
||||
```
|
||||
bigimg: [{src: "/img/triangle.jpg", desc: "Triangle"},
|
||||
{src: "/img/sphere.jpg", desc: "Sphere"},
|
||||
{src: "/img/hexagon.jpg", desc: "Hexagon"}]
|
||||
```
|
||||
|
||||
Also note that the description field is optional, and images could instead be specified by:
|
||||
```
|
||||
bigimg: [{src: "/img/triangle.jpg"},
|
||||
{src: "/img/sphere.jpg"},
|
||||
{src: "/img/hexagon.jpg"}]
|
||||
```
|
||||
|
||||
The above YAML array of hashes were written in "flow" style. However when generating a new page or post with `hugo new post/mypost.md`, hugo may interpret the archetype for bigimg in the default YAML style. Defining multiple bigimg's complete with descriptions in this style would be specified by:
|
||||
```
|
||||
bigimg:
|
||||
- {src: "/img/triangle.jpg", desc: "Triangle"}
|
||||
- {src: "/img/sphere.jpg", desc: "Sphere"}
|
||||
- {src: "/img/hexagon.jpg", desc: "Hexagon"}
|
||||
```
|
||||
|
||||
Additional information can be found [in this YAML tutorial](https://rhnh.net/2011/01/31/yaml-tutorial/).
|
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
title: Photoswipe Gallery Sample
|
||||
subtitle: Making a Gallery
|
||||
date: 2017-03-20
|
||||
tags: ["example", "photoswipe"]
|
||||
---
|
||||
|
||||
Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.liwen.id.au/heg/) and [Gert-Jan van den Berg](https://github.com/GjjvdBurg/HugoPhotoSwipe) for making galleries with [PhotoSwipe](http://photoswipe.com) .
|
||||
|
||||
{{< gallery caption-effect="fade" >}}
|
||||
{{< figure thumb="-thumb" link="/img/hexagon.jpg" >}}
|
||||
{{< figure thumb="-thumb" link="/img/sphere.jpg" caption="Sphere" >}}
|
||||
{{< figure thumb="-thumb" link="/img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" >}}
|
||||
{{< /gallery >}}
|
||||
|
||||
<!--more-->
|
||||
## Example
|
||||
The above gallery was created using the following shortcodes:
|
||||
```
|
||||
{{</* gallery caption-effect="fade" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/hexagon.jpg" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/sphere.jpg" caption="Sphere" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" */>}}
|
||||
{{</* /gallery */>}}
|
||||
```
|
||||
|
||||
## Usage
|
||||
For full details please see the [hugo-easy-gallery GitHub](https://github.com/liwenyip/hugo-easy-gallery/) page. Basic usages from above are:
|
||||
|
||||
- Create a gallery with open and close tags `{{</* gallery */>}}` and `{{</* /gallery */>}}`
|
||||
- `{{</* figure src="image.jpg" */>}}` will use `image.jpg` for thumbnail and lightbox
|
||||
- `{{</* figure src="thumb.jpg" link="image.jpg" */>}}` will use `thumb.jpg` for thumbnail and `image.jpg` for lightbox
|
||||
- `{{</* figure thumb="-small" link="image.jpg" */>}}` will use `image-small.jpg` for thumbnail and `image.jpg` for lightbox
|
||||
- All the [features/parameters](https://gohugo.io/extras/shortcodes) of Hugo's built-in `figure` shortcode work as normal, i.e. src, link, title, caption, class, attr (attribution), attrlink, alt
|
||||
- `{{</* gallery caption-effect="fade" */>}}` will fade in captions for all figures in this gallery instead of the default slide-up behavior
|
||||
- Many gallery styles for captions and hover effects exist; view the [hugo-easy-gallery GitHub](https://github.com/liwenyip/hugo-easy-gallery/) for all options
|
||||
- Note that this theme will load the photoswipe gallery theme and scripts by default, no need to load photoswipe on your individual pages
|
|
@ -0,0 +1,7 @@
|
|||
<!--
|
||||
If you want to include any custom html just before </body>, put it in this file.
|
||||
Or you can delete these file if you don't need it.
|
||||
-->
|
||||
<!-- for example, you could include some js libraries:
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.19.1/vis.js" integrity="sha256-HdIuWBZj4eftihsoDCJoMYjZi6aNVaw7YlUpzKT3ZxI=" crossorigin="anonymous"></script>
|
||||
-->
|
|
@ -0,0 +1,18 @@
|
|||
<!--
|
||||
If you want to include any custom html just before </head>, put it in this file.
|
||||
Or you can delete these file if you don't need it.
|
||||
-->
|
||||
<!-- for example, you could insert this custom css, which makes the bigimg not stretch:
|
||||
<style>
|
||||
.intro-header.big-img, .intro-header.big-img .big-img-transition {
|
||||
-webkit-background-size: contain !important;
|
||||
-moz-background-size: contain !important;
|
||||
background-size: contain !important;
|
||||
-o-background-size: contain !important;
|
||||
background-color: lightgrey;
|
||||
}
|
||||
</style>
|
||||
-->
|
||||
<!-- or you could include some additional css libraries:
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.19.1/vis.css" integrity="sha256-I1UoFd33KHIydu88R9owFaQWzwkiZV4hXXug5aYaM28=" crossorigin="anonymous" />
|
||||
-->
|
0
themes/beautifulhugo/exampleSite/static/.gitkeep
Normal file
0
themes/beautifulhugo/exampleSite/static/.gitkeep
Normal file
74
themes/beautifulhugo/i18n/br.yaml
Normal file
74
themes/beautifulhugo/i18n/br.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2 de Janeiro de 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "02/Jan/2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Postado em {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Ultima modificação em {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Outras linguagens: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Saiba mais"
|
||||
- id: olderPosts
|
||||
translation: "Posts antigos"
|
||||
- id: newerPosts
|
||||
translation: "Posts novos"
|
||||
- id: previousPost
|
||||
translation: "Post anterior"
|
||||
- id: nextPost
|
||||
translation: "Próximo Post"
|
||||
- id: readTime
|
||||
translation: "minutos"
|
||||
- id: words
|
||||
translation: "palavras"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Opa, a página não existe"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> alimentada • Tema <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adaptado de <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Ver navegação"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Idioma"
|
||||
- id: gcseLabelShort
|
||||
translation: "Buscar"
|
||||
- id: gcseLabelLong
|
||||
translation: "Buscar {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Fechar"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Sem comentários"
|
||||
- id: oneComment
|
||||
translation: "comentário"
|
||||
- id: moreComment
|
||||
translation: "comentários"
|
||||
- id: useMarkdown
|
||||
translation: "Você pode usar sintaxe MarkDown"
|
||||
- id: yourName
|
||||
translation: "Seu nome"
|
||||
- id: yourEmail
|
||||
translation: "Seu email"
|
||||
- id: yourWebsite
|
||||
translation: "Seu website"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Mostrar"
|
||||
- id: comments
|
||||
translation: "comentários"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Veja também"
|
74
themes/beautifulhugo/i18n/de.yaml
Normal file
74
themes/beautifulhugo/i18n/de.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "02.01.2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Gepostet am {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Zuletzt geändert am {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andere Sprachen: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Mehr"
|
||||
- id: olderPosts
|
||||
translation: "Ältere Posts"
|
||||
- id: newerPosts
|
||||
translation: "Neuere Posts"
|
||||
- id: previousPost
|
||||
translation: "Letzter Post"
|
||||
- id: nextPost
|
||||
translation: "Nächster Post"
|
||||
- id: readTime
|
||||
translation: "Minuten"
|
||||
- id: words
|
||||
translation: "Wörter"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Ups, diese Seite existiert nicht. (404 Error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> angetrieben • Theme <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> angepasst von <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Navigation"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Sprache"
|
||||
- id: gcseLabelShort
|
||||
translation: "Suche"
|
||||
- id: gcseLabelLong
|
||||
translation: "Suche {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Schließen"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Kein Kommentar"
|
||||
- id: oneComment
|
||||
translation: "Kommentar"
|
||||
- id: moreComment
|
||||
translation: "Kommentare"
|
||||
- id: useMarkdown
|
||||
translation: "Sie können Markdown-Syntax verwenden"
|
||||
- id: yourName
|
||||
translation: "Ihr Name"
|
||||
- id: yourEmail
|
||||
translation: "Ihre Emailadresse"
|
||||
- id: yourWebsite
|
||||
translation: "Ihre Website"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Zeige"
|
||||
- id: comments
|
||||
translation: "Kommentare"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Siehe auch"
|
74
themes/beautifulhugo/i18n/dk.yaml
Normal file
74
themes/beautifulhugo/i18n/dk.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "January 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "Jan 2, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Slået op den {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Senest redigeret den {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andre sprog: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Læs mere"
|
||||
- id: olderPosts
|
||||
translation: "Ældre opslag"
|
||||
- id: newerPosts
|
||||
translation: "Nyere opslag"
|
||||
- id: previousPost
|
||||
translation: "Forrige opslag"
|
||||
- id: nextPost
|
||||
translation: "Næste opslag"
|
||||
- id: readTime
|
||||
translation: "Minutter"
|
||||
- id: words
|
||||
translation: "Ord"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Ups, denne side eksisterer ikke. (404 error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> drevet • Tema <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> tilpasset fra <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Navigation"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Sprog"
|
||||
- id: gcseLabelShort
|
||||
translation: "Søg"
|
||||
- id: gcseLabelLong
|
||||
translation: "Søg {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Luk"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Ingen kommentar"
|
||||
- id: oneComment
|
||||
translation: "Kommentar"
|
||||
- id: moreComment
|
||||
translation: "Kommentarer"
|
||||
- id: useMarkdown
|
||||
translation: "Du kan anvende Markdown syntax"
|
||||
- id: yourName
|
||||
translation: "Dit navn"
|
||||
- id: yourEmail
|
||||
translation: "Din emailadresse"
|
||||
- id: yourWebsite
|
||||
translation: "Din hjemmeside"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Vis"
|
||||
- id: comments
|
||||
translation: "Kommentarer"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Se også"
|
74
themes/beautifulhugo/i18n/en.yaml
Normal file
74
themes/beautifulhugo/i18n/en.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "January 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "Jan 2, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Posted on {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Last modified on {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Other languages: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Read More"
|
||||
- id: olderPosts
|
||||
translation: "Older Posts"
|
||||
- id: newerPosts
|
||||
translation: "Newer Posts"
|
||||
- id: previousPost
|
||||
translation: "Previous Post"
|
||||
- id: nextPost
|
||||
translation: "Next Post"
|
||||
- id: readTime
|
||||
translation: "minutes"
|
||||
- id: words
|
||||
translation: "words"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Whoops, this page doesn't exist. Move along. (404 error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adapted from <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Toggle navigation"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Language"
|
||||
- id: gcseLabelShort
|
||||
translation: "Search"
|
||||
- id: gcseLabelLong
|
||||
translation: "Search {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Close"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "No comment"
|
||||
- id: oneComment
|
||||
translation: "comment"
|
||||
- id: moreComment
|
||||
translation: "comments"
|
||||
- id: useMarkdown
|
||||
translation: "You can use Markdown syntax"
|
||||
- id: yourName
|
||||
translation: "Your name"
|
||||
- id: yourEmail
|
||||
translation: "Your email address"
|
||||
- id: yourWebsite
|
||||
translation: "You website"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Show"
|
||||
- id: comments
|
||||
translation: "comments"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "See also"
|
74
themes/beautifulhugo/i18n/eo.yaml
Normal file
74
themes/beautifulhugo/i18n/eo.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2006-01-02"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Afiŝiĝis je {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Laste aliiĝis je {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Aliaj lingvoj: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Legi pli"
|
||||
- id: olderPosts
|
||||
translation: "Plimalnovaj afiŝoj"
|
||||
- id: newerPosts
|
||||
translation: "Plinovaj afiŝoj"
|
||||
- id: previousPost
|
||||
translation: "Antaŭa afiŝo"
|
||||
- id: nextPost
|
||||
translation: "Sekva afiŝo"
|
||||
- id: readTime
|
||||
translation: "minutoj"
|
||||
- id: words
|
||||
translation: "vortoj"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Ups, ĉi tiu paĝo ne ekzistas. (404 Error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-povigita • Haŭto de <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adaptiĝis de <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Navigacio"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Lingvo"
|
||||
- id: gcseLabelShort
|
||||
translation: "Serĉi"
|
||||
- id: gcseLabelLong
|
||||
translation: "Serĉi {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Fermi"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Sen komentoj"
|
||||
- id: oneComment
|
||||
translation: "komento"
|
||||
- id: moreComment
|
||||
translation: "komentoj"
|
||||
- id: useMarkdown
|
||||
translation: "Vi povus uzi Markdown-sintakson"
|
||||
- id: yourName
|
||||
translation: "Via nomo"
|
||||
- id: yourEmail
|
||||
translation: "Via retpoŝtadreso"
|
||||
- id: yourWebsite
|
||||
translation: "Via retpaĝaro"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Montru"
|
||||
- id: comments
|
||||
translation: "komentoj"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Vidu ankaŭ"
|
74
themes/beautifulhugo/i18n/es.yaml
Normal file
74
themes/beautifulhugo/i18n/es.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2 de enero, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Publicado el {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Última modificación en {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Otros idiomas: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Leer más"
|
||||
- id: olderPosts
|
||||
translation: "Artículos anteriores"
|
||||
- id: newerPosts
|
||||
translation: "Artículos siguientes"
|
||||
- id: previousPost
|
||||
translation: "Artículo anterior"
|
||||
- id: nextPost
|
||||
translation: "Artículo siguiente"
|
||||
- id: readTime
|
||||
translation: "minutos"
|
||||
- id: words
|
||||
translation: "palabras"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "¡Vaya! Esta página no existe (error 404)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> alimentada • Tema <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adaptado de <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Conmuta navegación"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Idioma"
|
||||
- id: gcseLabelShort
|
||||
translation: "Buscar"
|
||||
- id: gcseLabelLong
|
||||
translation: "Buscar en {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Cerrar"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Sin comentarios"
|
||||
- id: oneComment
|
||||
translation: "comentario"
|
||||
- id: moreComment
|
||||
translation: "comentarios"
|
||||
- id: useMarkdown
|
||||
translation: "Puedes usar la sintaxis de Markdown"
|
||||
- id: yourName
|
||||
translation: "Tu nombre"
|
||||
- id: yourEmail
|
||||
translation: "Tu correo electrónico"
|
||||
- id: yourWebsite
|
||||
translation: "Tu sitio web"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Mostrar"
|
||||
- id: comments
|
||||
translation: "comentarios"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Ver también"
|
74
themes/beautifulhugo/i18n/fr.yaml
Normal file
74
themes/beautifulhugo/i18n/fr.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "January 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Posté le {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Dernière modification le {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Autres langues : "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Voir plus"
|
||||
- id: olderPosts
|
||||
translation: "Anciens posts"
|
||||
- id: newerPosts
|
||||
translation: "Nouveaux posts"
|
||||
- id: previousPost
|
||||
translation: "Post précédent"
|
||||
- id: nextPost
|
||||
translation: "Post suivant"
|
||||
- id: readTime
|
||||
translation: "minutes"
|
||||
- id: words
|
||||
translation: "mots"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Oups, cette page n'existe pas. (erreur 404)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: 'Carbure avec <a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Avec le Theme <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adapté de <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Toggle navigation"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Langue"
|
||||
- id: gcseLabelShort
|
||||
translation: "Rechercher"
|
||||
- id: gcseLabelLong
|
||||
translation: "Rechercher {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Fermer"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Pas de commentaire"
|
||||
- id: oneComment
|
||||
translation: "commentaire"
|
||||
- id: moreComment
|
||||
translation: "commentaires"
|
||||
- id: useMarkdown
|
||||
translation: "Vous pouvez utiliser la syntaxe Markdown"
|
||||
- id: yourName
|
||||
translation: "Votre nom"
|
||||
- id: yourEmail
|
||||
translation: "Votre addresse mail"
|
||||
- id: yourWebsite
|
||||
translation: "Votre site web"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Afficher"
|
||||
- id: comments
|
||||
translation: "commentaires"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Voir également"
|
74
themes/beautifulhugo/i18n/hr.yaml
Normal file
74
themes/beautifulhugo/i18n/hr.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "Siječanj 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "Sij 2, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Obajvljeno na {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Zadnja promjena na {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Ostali jezici: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Pročitaj više"
|
||||
- id: olderPosts
|
||||
translation: "Starije objave"
|
||||
- id: newerPosts
|
||||
translation: "Novije objave"
|
||||
- id: previousPost
|
||||
translation: "Prethodna objava"
|
||||
- id: nextPost
|
||||
translation: "Slijedeća objava"
|
||||
- id: readTime
|
||||
translation: "minuta"
|
||||
- id: words
|
||||
translation: "riječi"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Whoops, ova stranica ne postoji. Idemo dalje. (404 error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Pokreće Hugo v{{ .Site.Hugo.Version }}</a> • Tema <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> prilagođena od <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Uključi/isključi navigaciju"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Jezik"
|
||||
- id: gcseLabelShort
|
||||
translation: "Traži"
|
||||
- id: gcseLabelLong
|
||||
translation: "Traži {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Zatvori"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Nema komenatara"
|
||||
- id: oneComment
|
||||
translation: "komentar"
|
||||
- id: moreComment
|
||||
translation: "komenatari"
|
||||
- id: useMarkdown
|
||||
translation: "Možete koristiti Markdown sintaksu"
|
||||
- id: yourName
|
||||
translation: "Vaše ime"
|
||||
- id: yourEmail
|
||||
translation: "Vaša email adresa"
|
||||
- id: yourWebsite
|
||||
translation: "You web stranica"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Pokaži"
|
||||
- id: comments
|
||||
translation: "komentari"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Također vidi"
|
74
themes/beautifulhugo/i18n/it.yaml
Normal file
74
themes/beautifulhugo/i18n/it.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2 January 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Redatto il {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Ultima modifica il {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Altre lingue: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Leggi"
|
||||
- id: olderPosts
|
||||
translation: "Articoli più vecchi"
|
||||
- id: newerPosts
|
||||
translation: "Articoli più recenti"
|
||||
- id: previousPost
|
||||
translation: "Articolo precedente"
|
||||
- id: nextPost
|
||||
translation: "Articolo successivo"
|
||||
- id: readTime
|
||||
translation: "minuti"
|
||||
- id: words
|
||||
translation: "parole"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Ops, questa pagina non esiste. (errore 404)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Sviluppato con Hugo v{{ .Site.Hugo.Version }}</a> • Tema <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> adattato da <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Attiva/disattiva la navigazione"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Linguaggio"
|
||||
- id: gcseLabelShort
|
||||
translation: "Cerca"
|
||||
- id: gcseLabelLong
|
||||
translation: "Cerca {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Chiudi"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Nessun commento"
|
||||
- id: oneComment
|
||||
translation: "commento"
|
||||
- id: moreComment
|
||||
translation: "commenti"
|
||||
- id: useMarkdown
|
||||
translation: "Puoi usare la sintassi Markdown"
|
||||
- id: yourName
|
||||
translation: "Il tuo nome"
|
||||
- id: yourEmail
|
||||
translation: "Il tuo indirizzo mail"
|
||||
- id: yourWebsite
|
||||
translation: "Il tuo website"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Mostra"
|
||||
- id: comments
|
||||
translation: "commenti"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Guarda anche"
|
74
themes/beautifulhugo/i18n/ja.yaml
Normal file
74
themes/beautifulhugo/i18n/ja.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2006年1月2日"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "{{ .Count }}に投稿"
|
||||
- id: lastModified
|
||||
translation: "(最終更新日時{{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "翻訳:"
|
||||
- id: translationsSeparator
|
||||
translation: "・"
|
||||
- id: readMore
|
||||
translation: "続きを読む"
|
||||
- id: olderPosts
|
||||
translation: "古いページ"
|
||||
- id: newerPosts
|
||||
translation: "新しいページ"
|
||||
- id: previousPost
|
||||
translation: "前ページ"
|
||||
- id: nextPost
|
||||
translation: "次ページ"
|
||||
- id: readTime
|
||||
translation: "分間"
|
||||
- id: words
|
||||
translation: "言葉"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "おっと、このページが存在しない。他にあたってください。(404エラー)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '起動力に<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • テーマに<a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>に基づいている<a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "メニューを切り替え"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "言語"
|
||||
- id: gcseLabelShort
|
||||
translation: "検索"
|
||||
- id: gcseLabelLong
|
||||
translation: "{{ .Site.Title }}を検索"
|
||||
- id: gcseClose
|
||||
translation: "閉じる"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "0 件のコメント"
|
||||
- id: oneComment
|
||||
translation: "件のコメント"
|
||||
- id: moreComment
|
||||
translation: "件のコメント"
|
||||
- id: useMarkdown
|
||||
translation: "Markdown を使用できます"
|
||||
- id: yourName
|
||||
translation: "名前"
|
||||
- id: yourEmail
|
||||
translation: "メールアドレス"
|
||||
- id: yourWebsite
|
||||
translation: "ウェブサイト"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "ショー"
|
||||
- id: comments
|
||||
translation: "コメント"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "も参照してください"
|
74
themes/beautifulhugo/i18n/ko.yaml
Normal file
74
themes/beautifulhugo/i18n/ko.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2006년 1월 2일"
|
||||
- id: shortdateFormat
|
||||
translation: "2006. 1. 2. 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "{{ .Count }}에 게시됨"
|
||||
- id: lastModified
|
||||
translation: "({{ .Count }}에 마지막으로 수정됨)"
|
||||
- id: translationsLabel
|
||||
translation: "다른 언어: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "더 읽기"
|
||||
- id: olderPosts
|
||||
translation: "이전 페이지"
|
||||
- id: newerPosts
|
||||
translation: "다음 페이지"
|
||||
- id: previousPost
|
||||
translation: "이전 글"
|
||||
- id: nextPost
|
||||
translation: "다음 글"
|
||||
- id: readTime
|
||||
translation: "분"
|
||||
- id: words
|
||||
translation: "단어"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "이런, 이 페이지를 찾을 수 없어요. (404 오류)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 을 사용함 • <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> 를 개조한 <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> 테마'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "네비게이션 토글"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "언어"
|
||||
- id: gcseLabelShort
|
||||
translation: "검색"
|
||||
- id: gcseLabelLong
|
||||
translation: "{{ .Site.Title }}에서 검색"
|
||||
- id: gcseClose
|
||||
translation: "닫기"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "댓글이 없습니다."
|
||||
- id: oneComment
|
||||
translation: "개의 댓글"
|
||||
- id: moreComment
|
||||
translation: "개의 댓글들"
|
||||
- id: useMarkdown
|
||||
translation: "마크다운 문법을 쓸 수 있습니다."
|
||||
- id: yourName
|
||||
translation: "이름"
|
||||
- id: yourEmail
|
||||
translation: "이메일"
|
||||
- id: yourWebsite
|
||||
translation: "웹사이트"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "표시"
|
||||
- id: comments
|
||||
translation: "댓글들"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "더 보면 좋을 글들"
|
74
themes/beautifulhugo/i18n/nb.yaml
Normal file
74
themes/beautifulhugo/i18n/nb.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "02.01.2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Postet {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Sist endret {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andre språk: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Les Mer"
|
||||
- id: olderPosts
|
||||
translation: "Eldre Poster"
|
||||
- id: newerPosts
|
||||
translation: "Nyere Poster"
|
||||
- id: previousPost
|
||||
translation: "Forrige Post"
|
||||
- id: nextPost
|
||||
translation: "Neste Post"
|
||||
- id: readTime
|
||||
translation: "minutter"
|
||||
- id: words
|
||||
translation: "ord"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Oisann! Denne siden finnes visst ikke. Prøv noe annet. (404 feil)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: 'Kjører på <a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Tema fra <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> tilpasset fra <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Navigasjon på/av"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Språk"
|
||||
- id: gcseLabelShort
|
||||
translation: "Søk"
|
||||
- id: gcseLabelLong
|
||||
translation: "Søk {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Lukk"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Ingen kommentarer"
|
||||
- id: oneComment
|
||||
translation: "kommentar"
|
||||
- id: moreComment
|
||||
translation: "kommentarer"
|
||||
- id: useMarkdown
|
||||
translation: "Du kan bruke Markdown syntax"
|
||||
- id: yourName
|
||||
translation: "Ditt navn"
|
||||
- id: yourEmail
|
||||
translation: "Din e-postadresse"
|
||||
- id: yourWebsite
|
||||
translation: "Din webside"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Vis"
|
||||
- id: comments
|
||||
translation: "kommentarer"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Se også"
|
74
themes/beautifulhugo/i18n/nl.yaml
Normal file
74
themes/beautifulhugo/i18n/nl.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "2006-01-02"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Gepost op {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Laatst gewijzigd op {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andere talen: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Meer lezen"
|
||||
- id: olderPosts
|
||||
translation: "Oudere berichten"
|
||||
- id: newerPosts
|
||||
translation: "Nieuwere berichten"
|
||||
- id: previousPost
|
||||
translation: "Vorige bericht"
|
||||
- id: nextPost
|
||||
translation: "Volgende bericht"
|
||||
- id: readTime
|
||||
translation: "minuten"
|
||||
- id: words
|
||||
translation: "woorden"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Oeps, deze pagina bestaat niet. (404 Error)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-aangedreven • Thema door <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> aangepast van <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Navigatie"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Taal"
|
||||
- id: gcseLabelShort
|
||||
translation: "Zoeken"
|
||||
- id: gcseLabelLong
|
||||
translation: "Zoek {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Sluiten"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Geen commentaar"
|
||||
- id: oneComment
|
||||
translation: "reactie"
|
||||
- id: moreComment
|
||||
translation: "reacties"
|
||||
- id: useMarkdown
|
||||
translation: "Je kunt Markdown-syntax gebruiken"
|
||||
- id: yourName
|
||||
translation: "Jouw naam"
|
||||
- id: yourEmail
|
||||
translation: "Jouw e-mailadres"
|
||||
- id: yourWebsite
|
||||
translation: "Jouw website"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Laat"
|
||||
- id: comments
|
||||
translation: "reacties zien"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Zie ook"
|
74
themes/beautifulhugo/i18n/pl.yaml
Normal file
74
themes/beautifulhugo/i18n/pl.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "02.01.2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Opublikowany {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Ostatnia modyfikacja {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Inne języki: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Więcej"
|
||||
- id: olderPosts
|
||||
translation: "Poprzednie wpisy"
|
||||
- id: newerPosts
|
||||
translation: "Następne wpisy"
|
||||
- id: previousPost
|
||||
translation: "Poprzedni"
|
||||
- id: nextPost
|
||||
translation: "Następny"
|
||||
- id: readTime
|
||||
translation: "minuty"
|
||||
- id: words
|
||||
translation: "słowa"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Nieprawidłowy adres (błąd 404)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '<a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> napędzany • Motyw <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> przystosowany od <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Nawigacja"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Język"
|
||||
- id: gcseLabelShort
|
||||
translation: "Szukaj"
|
||||
- id: gcseLabelLong
|
||||
translation: "Szukaj {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Zamknij"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Bez komentarza"
|
||||
- id: oneComment
|
||||
translation: "komentarz"
|
||||
- id: moreComment
|
||||
translation: "komentarzy"
|
||||
- id: useMarkdown
|
||||
translation: "Możesz użyć składni Markdown"
|
||||
- id: yourName
|
||||
translation: "Twoje imię"
|
||||
- id: yourEmail
|
||||
translation: "Twój adres email"
|
||||
- id: yourWebsite
|
||||
translation: "Twoja strona internetowa"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Pokaż"
|
||||
- id: comments
|
||||
translation: "komentarzy"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Zobacz też"
|
74
themes/beautifulhugo/i18n/ru.yaml
Normal file
74
themes/beautifulhugo/i18n/ru.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "Январь 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Опубликовано {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(Последнее изменение {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "Другие языки: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "Далее"
|
||||
- id: olderPosts
|
||||
translation: "Предыдущие записи"
|
||||
- id: newerPosts
|
||||
translation: "Новые записи"
|
||||
- id: previousPost
|
||||
translation: "Предыдущий"
|
||||
- id: nextPost
|
||||
translation: "Следующий"
|
||||
- id: readTime
|
||||
translation: "минут"
|
||||
- id: words
|
||||
translation: "слова"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "Уууупс, страница не найдена. Поищите ещё. (ошибка 404)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: 'На базе <a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Тема <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> на базе <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "Навигация"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "Язык"
|
||||
- id: gcseLabelShort
|
||||
translation: "Поиск"
|
||||
- id: gcseLabelLong
|
||||
translation: "Поиск по {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "Закрыть"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "Без комментариев"
|
||||
- id: oneComment
|
||||
translation: "комментарий"
|
||||
- id: moreComment
|
||||
translation: "комментарии"
|
||||
- id: useMarkdown
|
||||
translation: "Вы можете использовать синтаксис Markdown"
|
||||
- id: yourName
|
||||
translation: "Ваше имя"
|
||||
- id: yourEmail
|
||||
translation: "Ваш адрес электронной почты"
|
||||
- id: yourWebsite
|
||||
translation: "Ваш сайт"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "Показать"
|
||||
- id: comments
|
||||
translation: "комментариев"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "Смотрите также"
|
74
themes/beautifulhugo/i18n/zh-CN.yaml
Normal file
74
themes/beautifulhugo/i18n/zh-CN.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "January 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "发表于 {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(上次修改时间 {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "其它语言: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "阅读全文"
|
||||
- id: olderPosts
|
||||
translation: "下一页"
|
||||
- id: newerPosts
|
||||
translation: "上一页"
|
||||
- id: previousPost
|
||||
translation: "前一篇"
|
||||
- id: nextPost
|
||||
translation: "后一篇"
|
||||
- id: readTime
|
||||
translation: "分钟"
|
||||
- id: words
|
||||
translation: "个字"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "啊哦,这篇文章不存在。 (404 错误)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '由 <a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 强力驱动 • 主题 <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> 移植自 <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "切换导航"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "语言"
|
||||
- id: gcseLabelShort
|
||||
translation: "搜索"
|
||||
- id: gcseLabelLong
|
||||
translation: "搜索 {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "关闭"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "没有评论"
|
||||
- id: oneComment
|
||||
translation: "则评论"
|
||||
- id: moreComment
|
||||
translation: "则评论"
|
||||
- id: useMarkdown
|
||||
translation: "您可以使用Markdown语法"
|
||||
- id: yourName
|
||||
translation: "你的名字"
|
||||
- id: yourEmail
|
||||
translation: "您的电子邮件地址"
|
||||
- id: yourWebsite
|
||||
translation: "你的网页"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "显示"
|
||||
- id: comments
|
||||
translation: "则评论"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "也可以看看"
|
74
themes/beautifulhugo/i18n/zh-TW.yaml
Normal file
74
themes/beautifulhugo/i18n/zh-TW.yaml
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Content
|
||||
- id: dateFormat
|
||||
translation: "January 2, 2006"
|
||||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "發表於 {{ .Count }}"
|
||||
- id: lastModified
|
||||
translation: "(最後修改於 {{ .Count }})"
|
||||
- id: translationsLabel
|
||||
translation: "其他語言: "
|
||||
- id: translationsSeparator
|
||||
translation: ", "
|
||||
- id: readMore
|
||||
translation: "閱讀全文"
|
||||
- id: olderPosts
|
||||
translation: "更舊的文章"
|
||||
- id: newerPosts
|
||||
translation: "更新的文章"
|
||||
- id: previousPost
|
||||
translation: "上一篇"
|
||||
- id: nextPost
|
||||
translation: "下一篇"
|
||||
- id: readTime
|
||||
translation: "分鐘"
|
||||
- id: words
|
||||
translation: "個字"
|
||||
|
||||
|
||||
# 404 page
|
||||
- id: pageNotFound
|
||||
translation: "哎呀呀,這個頁面不存在,去其他地方逛逛吧。 (404 錯誤)"
|
||||
|
||||
# Footer
|
||||
- id: poweredBy # Accepts HTML
|
||||
translation: '由 <a href="https://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 提供 • 主題 <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> 移植自 <a href="https://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>'
|
||||
|
||||
# Navigation
|
||||
- id: toggleNavigation
|
||||
translation: "開關導覽"
|
||||
- id: languageSwitcherLabel
|
||||
translation: "語言"
|
||||
- id: gcseLabelShort
|
||||
translation: "搜尋"
|
||||
- id: gcseLabelLong
|
||||
translation: "搜尋 {{ .Site.Title }}"
|
||||
- id: gcseClose
|
||||
translation: "關閉"
|
||||
|
||||
# Staticman
|
||||
- id: noComment
|
||||
translation: "沒有評論"
|
||||
- id: oneComment
|
||||
translation: "則評論"
|
||||
- id: moreComment
|
||||
translation: "則評論"
|
||||
- id: useMarkdown
|
||||
translation: "您可以使用Markdown語法"
|
||||
- id: yourName
|
||||
translation: "您的名字"
|
||||
- id: yourEmail
|
||||
translation: "您的電子信箱"
|
||||
- id: yourWebsite
|
||||
translation: "您的網頁"
|
||||
|
||||
# Delayed Disqus
|
||||
- id: show
|
||||
translation: "顯示"
|
||||
- id: comments
|
||||
translation: "則評論"
|
||||
|
||||
# Related posts
|
||||
- id: seeAlso
|
||||
translation: "其他相關"
|
BIN
themes/beautifulhugo/images/screenshot.png
Normal file
BIN
themes/beautifulhugo/images/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 KiB |
BIN
themes/beautifulhugo/images/tn.png
Normal file
BIN
themes/beautifulhugo/images/tn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
18
themes/beautifulhugo/layouts/404.html
Normal file
18
themes/beautifulhugo/layouts/404.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ define "header" }}<!-- No header on 404 pages -->{{ end }}
|
||||
{{ define "main" }}
|
||||
<div role="main" class="container main-content">
|
||||
<div class="text-center">
|
||||
<h1 class="error-emoji"></h1>
|
||||
<p class="error-text">{{ i18n "pageNotFound" }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var errorEmojiContainer = document.getElementsByClassName('error-emoji')[0];
|
||||
var emojiArray = [
|
||||
'\\(o_o)/', '(o^^)o', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)',
|
||||
'(=\'X\'=)', '(>_<)', '(;-;)', '\\(^Д^)/',
|
||||
];
|
||||
var errorEmoji = emojiArray[Math.floor(Math.random() * emojiArray.length)];
|
||||
errorEmojiContainer.appendChild(document.createTextNode(errorEmoji));
|
||||
</script>
|
||||
{{ end }}
|
13
themes/beautifulhugo/layouts/_default/baseof.html
Normal file
13
themes/beautifulhugo/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Lang }}" itemscope itemtype="http://schema.org/WebPage">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ block "footer" . }}{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
32
themes/beautifulhugo/layouts/_default/list.html
Normal file
32
themes/beautifulhugo/layouts/_default/list.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
{{ define "main" }}
|
||||
<div class="container" role="main">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{{ with .Content }}
|
||||
<div class="well">
|
||||
{{.}}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="posts-list">
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ partial "post_preview.html" .}}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||||
<ul class="pager main-pager">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<li class="previous">
|
||||
<a href="{{ .Permalink }}page/{{ .Paginator.Prev.PageNumber }}/">← {{ i18n "newerPosts" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if .Paginator.HasNext }}
|
||||
<li class="next">
|
||||
<a href="{{ .Permalink }}page/{{ .Paginator.Next.PageNumber }}/">{{ i18n "olderPosts" }} →</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
89
themes/beautifulhugo/layouts/_default/single.html
Normal file
89
themes/beautifulhugo/layouts/_default/single.html
Normal file
|
@ -0,0 +1,89 @@
|
|||
{{ define "main" }}
|
||||
<div class="container" role="main">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<article role="main" class="blog-post">
|
||||
{{ .Content }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<div class="blog-tags">
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if $.Param "socialShare" }}
|
||||
<hr/>
|
||||
<section id="social-share">
|
||||
<div class="list-inline footer-links">
|
||||
{{ partial "share-links" . }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.showRelatedPosts }}
|
||||
{{ range first 1 (where (where .Site.Pages ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }}
|
||||
{{ $.Scratch.Set "has_related" true }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $.Scratch.Get "has_related" }}
|
||||
<h4 class="see-also">{{ i18n "seeAlso" }}</h4>
|
||||
<ul>
|
||||
{{ $num_to_show := .Site.Params.related_content_limit | default 5 }}
|
||||
{{ range first $num_to_show (where (where .Site.Pages ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</article>
|
||||
|
||||
{{ if ne .Type "page" }}
|
||||
<ul class="pager blog-pager">
|
||||
{{ if .PrevInSection }}
|
||||
<li class="previous">
|
||||
<a href="{{ .PrevInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">← {{ i18n "previousPost" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if .NextInSection }}
|
||||
<li class="next">
|
||||
<a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ i18n "nextPost" }} →</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ if .Site.Params.delayDisqus }}
|
||||
<div class="disqus-comments">
|
||||
<button id="show-comments" class="btn btn-default" type="button">{{ i18n "show" }} <span class="disqus-comment-count" data-disqus-url="{{ trim .Permalink "/" }}">{{ i18n "comments" }}</span></button>
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var disqus_config = function () {
|
||||
this.page.url = '{{ trim .Permalink "/" }}';
|
||||
};
|
||||
|
||||
</script>
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="disqus-comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.staticman }}
|
||||
<div class="staticman-comments">
|
||||
{{ partial "staticman-comments.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
38
themes/beautifulhugo/layouts/_default/terms.html
Normal file
38
themes/beautifulhugo/layouts/_default/terms.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{ $data := .Data }}
|
||||
|
||||
<div class="container" role="main">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<article class="post-preview">
|
||||
<div class="panel-group" id="accordion">
|
||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||
<div class="panel panel-default">
|
||||
<a class="collapsed" role="button" data-toggle="collapse" data-target="#collapse{{ $value.Name }}" data-parent="#accordion">
|
||||
<div class="panel-heading" id="header{{ $value.Name }}">
|
||||
<h4 class="panel-title">
|
||||
{{ $value.Name }}
|
||||
<span class="badge">{{ $value.Count }}</span>
|
||||
</h4>
|
||||
</div>
|
||||
</a>
|
||||
<div id="collapse{{ $value.Name }}" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
<a href="{{ $.Site.LanguagePrefix | absURL }}/{{ $data.Plural }}/{{ $value.Name | urlize }}/" class="list-group-item view-all">
|
||||
View all</a>
|
||||
<div class="list-group">
|
||||
{{ range $item := $value.WeightedPages }}
|
||||
<a href="{{$item.Permalink}}" class="list-group-item">{{ $item.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{ end }}
|
33
themes/beautifulhugo/layouts/index.html
Normal file
33
themes/beautifulhugo/layouts/index.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
{{ define "main" }}
|
||||
<div role="main" class="container">
|
||||
<div class="row">
|
||||
{{ with .Content }}
|
||||
<article class="post-preview">
|
||||
{{.}}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
|
||||
{{ range $pag.Pages }}
|
||||
{{ partial "post_preview" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||||
<ul class="pager main-pager">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<li class="previous">
|
||||
<a href="{{ .Permalink }}page/{{ .Paginator.Prev.PageNumber }}/">← {{ i18n "newerPosts" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if .Paginator.HasNext }}
|
||||
<li class="next">
|
||||
<a href="{{ .Permalink }}page/{{ .Paginator.Next.PageNumber }}/">{{ i18n "olderPosts" }} →</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
7
themes/beautifulhugo/layouts/partials/disqus.html
Normal file
7
themes/beautifulhugo/layouts/partials/disqus.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
<div class="comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
123
themes/beautifulhugo/layouts/partials/footer.html
Normal file
123
themes/beautifulhugo/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,123 @@
|
|||
{{ if eq .Type "page" }}
|
||||
{{ partial "page_meta.html" . }}
|
||||
{{ end }}
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<ul class="list-inline text-center footer-links">
|
||||
{{ range .Site.Data.beautifulhugo.social.social_icons }}
|
||||
{{- if isset $.Site.Author .id }}
|
||||
<li>
|
||||
<a href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="{{ .icon }} fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.rss }}
|
||||
<li>
|
||||
<a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="RSS">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fas fa-circle fa-stack-2x"></i>
|
||||
<i class="fas fa-rss fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<p class="credits copyright text-muted">
|
||||
{{ if .Site.Author.name }}
|
||||
{{ if .Site.Author.website }}
|
||||
<a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
|
||||
{{ else }}
|
||||
{{ .Site.Author.name }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{/* • ©
|
||||
{{ if .Site.Params.since }}
|
||||
{{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}
|
||||
{{ else }}
|
||||
{{ .Site.LastChange.Format "2006" }}
|
||||
{{ end }}*/}}
|
||||
|
||||
{{ if .Site.Title }}
|
||||
{{/* • */}}
|
||||
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
<!-- Please don't remove this, keep my open source work credited :) -->
|
||||
<p class="credits theme-by text-muted">
|
||||
{{ i18n "poweredBy" . | safeHTML }}
|
||||
{{ if $.GitInfo }} • [<a href="{{ .Site.Params.commit }}{{ .GitInfo.Hash }}">{{ substr .GitInfo.Hash 0 8 }}</a>]{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Google Custom Search Engine -->
|
||||
{{ if .Site.Params.gcse }}
|
||||
<script>
|
||||
(function() {
|
||||
var cx = '{{ .Site.Params.gcse }}';
|
||||
var gcse = document.createElement('script');
|
||||
gcse.type = 'text/javascript';
|
||||
gcse.async = true;
|
||||
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(gcse, s);
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.piwik }}
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
_paq.push(["trackPageView"]);
|
||||
_paq.push(["enableLinkTracking"]);
|
||||
|
||||
(function() {
|
||||
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://{{ .Site.Params.piwik.server }}/";
|
||||
_paq.push(["setTrackerUrl", u+"piwik.php"]);
|
||||
_paq.push(["setSiteId", "{{ .Site.Params.piwik.id }}"]);
|
||||
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
|
||||
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
<!-- Piwik Image Tracker -->
|
||||
<img src="http://{{ .Site.Params.piwik.server }}/piwik.php?idsite={{ .Site.Params.piwik.id }}&rec=1" style="border:0" alt="" />
|
||||
<!-- End Piwik -->
|
||||
</noscript>
|
||||
<!-- End Piwik Code -->
|
||||
{{ end }}
|
||||
|
||||
{{ if and .Site.Params.delayDisqus .Site.DisqusShortname }}
|
||||
<!-- Delayed Disqus -->
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$('#show-comments').on('click', function(){
|
||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||
|
||||
(function() {
|
||||
var disqus = document.createElement('script');
|
||||
disqus.type = 'text/javascript';
|
||||
disqus.async = true;
|
||||
disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);
|
||||
})();
|
||||
|
||||
$(this).hide();
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
||||
<!-- End Delayed Disqus -->
|
||||
{{ end }}
|
||||
|
||||
{{- partial "footer_custom.html" . }}
|
4
themes/beautifulhugo/layouts/partials/footer_custom.html
Normal file
4
themes/beautifulhugo/layouts/partials/footer_custom.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!--
|
||||
If you want to include any custom html just before </body>, put it in /layouts/partials/footer_custom.html
|
||||
Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/footer_custom.html doesn't exist.
|
||||
-->
|
55
themes/beautifulhugo/layouts/partials/head.html
Normal file
55
themes/beautifulhugo/layouts/partials/head.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
{{- if eq .Kind "taxonomyTerm" }}
|
||||
{{- range $key, $value := .Data.Terms.ByCount }}
|
||||
{{- $.Scratch.Add "most_used" (slice $value.Name) }}
|
||||
{{- end }}
|
||||
{{- if not ($.Scratch.Get "most_used") }}
|
||||
{{- $description := printf "A full overview of all pages with %s, ordered by %s" .Data.Plural .Data.Singular | truncate 180 }}
|
||||
{{- $.Scratch.Set "Description" $description }}
|
||||
{{- else }}
|
||||
{{- $description := printf "A full overview of all pages with %s, ordered by %s, such as: %s" .Data.Plural .Data.Singular ( delimit ( $.Scratch.Get "most_used" ) ", " ", and " ) | truncate 180 }}
|
||||
{{- $.Scratch.Set "Description" $description }}
|
||||
{{- end }}
|
||||
|
||||
{{- $title := printf "Overview of all pages with %s, ordered by %s" .Data.Plural .Data.Singular }}
|
||||
{{- $.Scratch.Set "Title" $title }}
|
||||
{{- else if eq .Kind "taxonomy" }}
|
||||
{{- $description := printf "Overview of all pages with the %s #%s, such as: %s" .Data.Singular $.Title ( index .Pages 0).Title | truncate 160 }}
|
||||
{{- $.Scratch.Set "Description" $description }}
|
||||
|
||||
{{- $title := printf "Overview of all pages with the %s #%s" .Data.Singular $.Title }}
|
||||
{{- $.Scratch.Set "Title" $title }}
|
||||
{{- else }}
|
||||
{{- $.Scratch.Set "Description" ( .Description | default .Params.subtitle | default .Summary ) }}
|
||||
{{- $.Scratch.Set "Title" ( .Title | default .Site.Title ) }}
|
||||
{{- end }}
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<!-- Site Title, Description, Author, and Favicon -->
|
||||
{{- with ($.Scratch.Get "Title") }}
|
||||
<title>{{ . }} - {{ $.Site.Title }}</title>
|
||||
{{- end }}
|
||||
{{- with ($.Scratch.Get "Description") }}
|
||||
<meta name="description" content="{{ . }}">
|
||||
{{- end }}
|
||||
{{- with .Site.Author.name }}
|
||||
<meta name="author" content="{{ . }}"/>
|
||||
{{- end }}
|
||||
{{- partial "seo/main.html" . }}
|
||||
{{- with .Site.Params.favicon }}
|
||||
<link href='{{ . | absURL }}' rel='icon' type='image/x-icon'/>
|
||||
{{- end -}}
|
||||
<!-- Hugo Version number -->
|
||||
{{ hugo.Generator -}}
|
||||
<!-- Links and stylesheets -->
|
||||
<link rel="alternate" href="{{ "index.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/light.css" | absURL }}" />
|
||||
|
||||
{{- if .Site.Params.staticman.recaptcha -}}
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
{{- end -}}
|
||||
|
||||
{{- partial "head_custom.html" . }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
4
themes/beautifulhugo/layouts/partials/head_custom.html
Normal file
4
themes/beautifulhugo/layouts/partials/head_custom.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!--
|
||||
If you want to include any custom html just before </head>, put it in /layouts/partials/head_custom.html
|
||||
Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/head_custom.html doesn't exist.
|
||||
-->
|
55
themes/beautifulhugo/layouts/partials/header.html
Normal file
55
themes/beautifulhugo/layouts/partials/header.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
{{ if .IsHome }}
|
||||
{{ if .Site.Params.homeTitle }}{{ $.Scratch.Set "title" .Site.Params.homeTitle }}{{ else }}{{ $.Scratch.Set "title" .Site.Title }}{{ end }}
|
||||
{{ if .Site.Params.subtitle }}{{ $.Scratch.Set "subtitle" .Site.Params.subtitle }}{{ end }}
|
||||
{{ if .Site.Params.bigimg }}{{ $.Scratch.Set "bigimg" .Site.Params.bigimg }}{{ end }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "title" .Title }}
|
||||
{{ if .Params.subtitle }}{{ $.Scratch.Set "subtitle" .Params.subtitle }}{{ end }}
|
||||
{{ if .Params.bigimg }}{{ $.Scratch.Set "bigimg" .Params.bigimg }}{{ end }}
|
||||
{{ end }}
|
||||
{{ $bigimg := $.Scratch.Get "bigimg" }}
|
||||
{{ $title := $.Scratch.Get "title" }}
|
||||
{{ $subtitle := $.Scratch.Get "subtitle" }}
|
||||
|
||||
{{ if or $bigimg $title }}
|
||||
{{ if $bigimg }}
|
||||
<div id="header-big-imgs" data-num-img={{len $bigimg}}
|
||||
{{range $i, $img := $bigimg}}
|
||||
{{ if (fileExists $img.src)}}
|
||||
data-img-src-{{add $i 1}}="{{$img.src | absURL }}"
|
||||
{{else}}
|
||||
data-img-src-{{add $i 1}}="{{$img.src}}"
|
||||
{{end}}
|
||||
{{ if $img.desc}}data-img-desc-{{add $i 1}}="{{$img.desc}}"{{end}}
|
||||
{{end}}></div>
|
||||
{{ end }}
|
||||
|
||||
<header class="header-section {{ if $bigimg }}has-img{{ end }}">
|
||||
<div class="intro-header no-img">
|
||||
<div class="container">
|
||||
<div class="{{ .Type }}-heading">
|
||||
{{ if eq .Type "list" }}
|
||||
<h1>{{ if .Data.Singular }}#{{ end }}{{ .Title }}</h1>
|
||||
{{ else }}
|
||||
<h1>{{ with $title }}{{.}}{{ else }}<br/>{{ end }}</h1>
|
||||
{{ end }}
|
||||
{{ if ne .Type "post" }}
|
||||
<hr class="small">
|
||||
{{ end }}
|
||||
{{ if $subtitle }}
|
||||
{{ if eq .Type "page" }}
|
||||
<span class="{{ .Type }}-subheading">{{ $subtitle }}</span>
|
||||
{{ else }}
|
||||
<h2 class="{{ .Type }}-subheading">{{ $subtitle }}</h2>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if eq .Type "post" }}
|
||||
{{ partial "post_meta.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{ else }}
|
||||
<div class="intro-header"></div>
|
||||
{{ end }}
|
|
@ -0,0 +1,51 @@
|
|||
<!--
|
||||
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
|
||||
-->
|
||||
|
||||
<!-- Root element of PhotoSwipe. Must have class pswp. -->
|
||||
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<!-- Background of PhotoSwipe.
|
||||
It's a separate element, as animating opacity is faster than rgba(). -->
|
||||
<div class="pswp__bg"></div>
|
||||
<!-- Slides wrapper with overflow:hidden. -->
|
||||
<div class="pswp__scroll-wrap">
|
||||
<!-- Container that holds slides.
|
||||
PhotoSwipe keeps only 3 of them in DOM to save memory.
|
||||
Don't modify these 3 pswp__item elements, data is added later on. -->
|
||||
<div class="pswp__container">
|
||||
<div class="pswp__item"></div>
|
||||
<div class="pswp__item"></div>
|
||||
<div class="pswp__item"></div>
|
||||
</div>
|
||||
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
|
||||
<div class="pswp__ui pswp__ui--hidden">
|
||||
<div class="pswp__top-bar">
|
||||
<!-- Controls are self-explanatory. Order can be changed. -->
|
||||
<div class="pswp__counter"></div>
|
||||
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
|
||||
<button class="pswp__button pswp__button--share" title="Share"></button>
|
||||
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
|
||||
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
|
||||
<!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
|
||||
<!-- element will get class pswp__preloader--active when preloader is running -->
|
||||
<div class="pswp__preloader">
|
||||
<div class="pswp__preloader__icn">
|
||||
<div class="pswp__preloader__cut">
|
||||
<div class="pswp__preloader__donut"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
|
||||
<div class="pswp__share-tooltip"></div>
|
||||
</div>
|
||||
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
|
||||
</button>
|
||||
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
|
||||
</button>
|
||||
<div class="pswp__caption">
|
||||
<div class="pswp__caption__center"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
96
themes/beautifulhugo/layouts/partials/nav.html
Normal file
96
themes/beautifulhugo/layouts/partials/nav.html
Normal file
|
@ -0,0 +1,96 @@
|
|||
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
|
||||
<span class="sr-only">{{ i18n "toggleNavigation" }}</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="main-navbar">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{{ range .Site.Menus.main.ByWeight }}
|
||||
{{ if .HasChildren }}
|
||||
<li class="navlinks-container">
|
||||
<a class="navlinks-parent">{{ .Name }}</a>
|
||||
<div class="navlinks-children">
|
||||
{{ range .Children }}
|
||||
<a href="{{ .URL | relLangURL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li>
|
||||
<a title="{{ .Name }}" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.IsMultiLingual }}
|
||||
{{ if ge (len .Site.Languages) 3 }}
|
||||
<li class="navlinks-container">
|
||||
<a class="navlinks-parent">{{ i18n "languageSwitcherLabel" }}</a>
|
||||
<div class="navlinks-children">
|
||||
{{ range .Site.Languages }}
|
||||
{{ if not (eq .Lang $.Site.Language.Lang) }}
|
||||
<a href="/{{ .Lang }}" lang="{{ .Lang }}">{{ default .Lang .LanguageName }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li>
|
||||
{{ range .Site.Languages }}
|
||||
{{ if not (eq .Lang $.Site.Language.Lang) }}
|
||||
<a href="/{{ .Lang }}" lang="{{ .Lang }}">{{ default .Lang .LanguageName }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Site.Params "gcse" }}
|
||||
<li>
|
||||
<a href="#modalSearch" data-toggle="modal" data-target="#modalSearch" style="outline: none;">
|
||||
<span class="hidden-sm hidden-md hidden-lg">{{ i18n "gcseLabelShort" }}</span> <span id="searchGlyph" class="glyphicon glyphicon-search"></span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ if isset .Site.Params "logo" }}
|
||||
<div class="avatar-container">
|
||||
<div class="avatar-img-border">
|
||||
<a title="{{ .Site.Title }}" href="{{ "" | absLangURL }}">
|
||||
<img class="avatar-img" src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Search Modal -->
|
||||
{{ if isset .Site.Params "gcse" }}
|
||||
<div id="modalSearch" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">{{ i18n "gcseLabelLong" . }}</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<gcse:search></gcse:search>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ i18n "gcseClose" }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
8
themes/beautifulhugo/layouts/partials/page_meta.html
Normal file
8
themes/beautifulhugo/layouts/partials/page_meta.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="page-meta">
|
||||
{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
|
||||
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
|
||||
{{ if ne $datestr $lastmodstr }}
|
||||
{{ $lastmodstr | i18n "lastModified" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
45
themes/beautifulhugo/layouts/partials/post_meta.html
Normal file
45
themes/beautifulhugo/layouts/partials/post_meta.html
Normal file
|
@ -0,0 +1,45 @@
|
|||
<span class="post-meta">
|
||||
{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
|
||||
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
|
||||
<i class="fas fa-calendar"></i> {{ $datestr | i18n "postedOnDate"}}
|
||||
{{ if ne $datestr $lastmodstr }}
|
||||
{{ $lastmodstr | i18n "lastModified" }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.readingTime }}
|
||||
| <i class="fas fa-clock"></i> {{ i18n "readingTime"}}{{ .ReadingTime }} {{ i18n "readTime" }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.wordCount }}
|
||||
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.hideAuthor }}
|
||||
{{ if .Params.author }}
|
||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}
|
||||
{{ else }}
|
||||
| <i class="fas fa-user"></i> {{ .Site.Author.name | safeHTML }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- if .Site.Params.staticman -}}
|
||||
| <i class="fas fa-comment"></i>
|
||||
{{ $slug := replace .RelPermalink "/" "" }}
|
||||
{{ if .Site.Data.comments }}
|
||||
{{ $comments := index $.Site.Data.comments $slug }}
|
||||
{{ if $comments }}
|
||||
{{ if gt (len $comments) 1 }}
|
||||
{{ len $comments }} {{ i18n "moreComment" }}
|
||||
{{ else }}
|
||||
{{ len $comments }} {{ i18n "oneComment" }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
0 {{ i18n "oneComment" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .IsTranslated -}}
|
||||
{{- $sortedTranslations := sort .Translations "Site.Language.Weight" -}}
|
||||
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
|
||||
{{- $cleanLinks := apply $links "chomp" "." -}}
|
||||
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
|
||||
• {{ i18n "translationsLabel" }}{{ $linksOutput }}
|
||||
{{- end }}
|
||||
</span>
|
||||
|
39
themes/beautifulhugo/layouts/partials/post_preview.html
Normal file
39
themes/beautifulhugo/layouts/partials/post_preview.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<article class="post-preview">
|
||||
<a href="{{ .Permalink }}">
|
||||
<h2 class="post-title">{{ .Title }}</h2>
|
||||
{{ if .Params.subtitle }}
|
||||
<h3 class="post-subtitle">
|
||||
{{ .Params.subtitle }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
{{ if .Params.image }}
|
||||
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" />
|
||||
{{ end }}
|
||||
{{ if .Params.video }}
|
||||
<video loop autoplay muted playsinline class="img-title">
|
||||
<source src="{{ .Params.video }}">
|
||||
</video>
|
||||
{{ end }}
|
||||
</a>
|
||||
|
||||
<p class="post-meta">
|
||||
{{ partial "post_meta.html" . }}
|
||||
</p>
|
||||
<div class="post-entry">
|
||||
{{ if .Truncated }}
|
||||
{{ .Summary }}
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[{{ i18n "readMore" }}]</a>
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<div class="blog-tags">
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</article>
|
3
themes/beautifulhugo/layouts/partials/seo/main.html
Normal file
3
themes/beautifulhugo/layouts/partials/seo/main.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{- partial "seo/schema" . }}
|
||||
{{- partial "seo/opengraph" . }}
|
||||
{{- partial "seo/twitter" . }}
|
15
themes/beautifulhugo/layouts/partials/seo/opengraph.html
Normal file
15
themes/beautifulhugo/layouts/partials/seo/opengraph.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{- with .Title | default .Site.Title }}
|
||||
<meta property="og:title" content="{{ . }}" />
|
||||
{{- end }}
|
||||
{{- with .Description | default .Params.subtitle | default .Summary }}
|
||||
<meta property="og:description" content="{{ . }}">
|
||||
{{- end }}
|
||||
{{- with .Params.share_img | default .Params.image | default .Site.Params.logo }}
|
||||
<meta property="og:image" content="{{ . | absURL }}" />
|
||||
{{- end }}
|
||||
{{- with .Site.Params.fb_app_id }}
|
||||
<meta property="fb:app_id" content="{{ . }}" />
|
||||
{{- end }}
|
||||
<meta property="og:url" content="{{ .Permalink | absLangURL }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
6
themes/beautifulhugo/layouts/partials/seo/schema.html
Normal file
6
themes/beautifulhugo/layouts/partials/seo/schema.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{- partial "seo/structured/website" . }}
|
||||
{{- partial "seo/structured/organization" . }}
|
||||
{{ if .IsPage }}
|
||||
{{- partial "seo/structured/breadcrumb" . }}
|
||||
{{- partial "seo/structured/article" . }}
|
||||
{{ end }}
|
|
@ -0,0 +1,28 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Article",
|
||||
"author": {
|
||||
"name" : "{{ if .Params.author -}}{{ .Params.author }}{{- else if .Site.Author.name -}}{{ .Site.Author.name }}{{- end }}"
|
||||
},
|
||||
"headline": "{{ .Title }}",
|
||||
"description" : "{{ if .Description }}{{ .Description | plainify }}{{ else }}{{if .IsPage}}{{ .Summary | plainify }}{{ end }}{{ end }}",
|
||||
"inLanguage" : "{{ .Lang }}",
|
||||
"wordCount": {{ .WordCount }},
|
||||
"datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"dateModified" : "{{ .Date.Format "2006-01-02T15:04:05" }}",
|
||||
"image" : "{{ .Site.Params.logo | absURL }}",
|
||||
"keywords" : [ "{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}" ],
|
||||
"mainEntityOfPage" : "{{ .Permalink }}",
|
||||
"publisher" : {
|
||||
"@type": "Organization",
|
||||
"name" : "{{ .Site.BaseURL }}",
|
||||
"logo" : {
|
||||
"@type" : "ImageObject",
|
||||
"url" : "{{ .Site.Params.logo | absURL }}",
|
||||
"height" : 60 ,
|
||||
"width" : 60
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,21 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"item": {
|
||||
"@id": "{{ .Site.BaseURL }}",
|
||||
"name": "home"
|
||||
}
|
||||
},{
|
||||
"@type": "ListItem",
|
||||
"position": 3,
|
||||
"item": {
|
||||
"@id": "{{ .Permalink }}",
|
||||
"name": "{{ .Title | humanize }}"
|
||||
}
|
||||
}]
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,12 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Organization",
|
||||
"name": "{{ .Site.Params.organizationName }}",
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
{{ with .Site.Params.socialProfiles }}, "sameAs": {{ . }}{{ end }}
|
||||
{{ with .Site.Params.organizationLogo }}, "logo": "{{ . }}"{{ end }}
|
||||
{{ with .Site.Params.organizationAddress }}, "address": "{{ . }}"{{ end }}
|
||||
{{ with .Site.Data.organization.contacts.contactPoint }}, "contactPoint": {{ . }}{{ end }}
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,47 @@
|
|||
<script type="application/ld+json"> {
|
||||
"@context" : "http://schema.org",
|
||||
"@type" : "BlogPosting",
|
||||
{{ if .Params.categories }}{{ range .Params.categories }}"articleSection" : "{{ . }}",{{ end }}{{ end }}
|
||||
"name" : "{{ .Title | safeJS }}",
|
||||
"headline" : "{{ .Title | safeJS }}",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{{ .Permalink }}"
|
||||
},
|
||||
"description" : "{{ if .Description }}{{ .Description | plainify }}{{ else }}{{if .IsPage}}{{ .Summary | plainify }}{{ end }}{{ end }}",
|
||||
"inLanguage" : "{{ .Lang }}",
|
||||
{{ if .Params.author -}}
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ .Params.author }}"
|
||||
},
|
||||
{{- else if .Site.Author.name -}}
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ .Site.Author.name }}"
|
||||
},
|
||||
{{- end }}
|
||||
"copyrightYear" : "{{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}",
|
||||
{{ if not .PublishDate.IsZero -}}
|
||||
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05-07:00" | safeHTML }}",
|
||||
{{- else if not .Date.IsZero -}}
|
||||
"datePublished": "{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}",
|
||||
{{- end }}
|
||||
{{ with .Lastmod -}}
|
||||
"dateModified": "{{ .Format "2006-01-02T15:04:05-07:00" | safeHTML }}",
|
||||
{{- end }}
|
||||
"url" : "{{ .Permalink }}",
|
||||
"wordCount" : "{{ .WordCount }}",
|
||||
"image" : "{{ .Site.Params.logo | absURL }}",
|
||||
"keywords" : [ "{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}" ],
|
||||
"publisher" : {
|
||||
"@type": "Organization",
|
||||
"name" : "{{ .Site.BaseURL }}",
|
||||
"logo" : {
|
||||
"@type" : "ImageObject",
|
||||
"url" : "{{ .Site.Params.logo | absURL }}",
|
||||
"height" : 60 ,
|
||||
"width" : 60
|
||||
}
|
||||
}
|
||||
} </script>
|
|
@ -0,0 +1,9 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "{{ .Site.Title }}",
|
||||
{{ with .Site.Params.alternatePageName }}"alternateName": "{{ . }}",{{ end }}
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
}
|
||||
</script>
|
15
themes/beautifulhugo/layouts/partials/seo/twitter.html
Normal file
15
themes/beautifulhugo/layouts/partials/seo/twitter.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{- with .Title | default .Site.Title }}
|
||||
<meta name="twitter:title" content="{{ . | truncate 70 }}" />
|
||||
{{- end }}
|
||||
{{- with .Description | default .Params.subtitle | default .Summary }}
|
||||
<meta name="twitter:description" content="{{ . | truncate 200 }}">
|
||||
{{- end }}
|
||||
<meta name="twitter:image" content="https://onestla.tech/header.jpg" />
|
||||
{{- with .Params.share_img | default .Params.image | default .Site.Params.logo }}
|
||||
<meta name="twitter:image" content="{{ . | absURL }}" />
|
||||
{{- end }}
|
||||
<meta name="twitter:card" content="summary" />
|
||||
{{- with .Site.Author.twitter }}
|
||||
<meta name="twitter:site" content="@{{ . }}" />
|
||||
<meta name="twitter:creator" content="@{{ . }}" />
|
||||
{{- end }}
|
48
themes/beautifulhugo/layouts/partials/share-links.html
Normal file
48
themes/beautifulhugo/layouts/partials/share-links.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
{{ if or .Params.socialShare (and .Site.Params.socialShare (ne .Params.socialShare false)) }}
|
||||
<!-- Social Share Button HTML -->
|
||||
<div class="share-box" aria-hidden="true">
|
||||
<ul class="share">
|
||||
<!-- Twitter -->
|
||||
<li>
|
||||
<a href="//twitter.com/share?url={{ .Permalink }}&text={{ .Title }}&via={{ .Site.Author.twitter }}" target="_blank" title="Share on Twitter">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Facebook -->
|
||||
<li>
|
||||
<a href="//www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank" title="Share on Facebook">
|
||||
<i class="fab fa-facebook"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Reddit -->
|
||||
<li>
|
||||
<a href="//reddit.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on Reddit">
|
||||
<i class="fab fa-reddit"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- LinkedIn -->
|
||||
<li>
|
||||
<a href="//www.linkedin.com/shareArticle?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on LinkedIn">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- StumbleUpon -->
|
||||
<li>
|
||||
<a href="//www.stumbleupon.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on StumbleUpon">
|
||||
<i class="fab fa-stumbleupon"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Pinterest -->
|
||||
<li>
|
||||
<a href="//www.pinterest.com/pin/create/button/?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="Share on Pinterest">
|
||||
<i class="fab fa-pinterest"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
|
@ -0,0 +1,93 @@
|
|||
<section class="js-comments staticman-comments">
|
||||
|
||||
{{ $slug := replace .RelPermalink "/" "" }}
|
||||
|
||||
{{ if .Site.Data.comments }}
|
||||
{{ $comments := index $.Site.Data.comments $slug }}
|
||||
{{ if $comments }}
|
||||
{{ if gt (len $comments) 1 }}
|
||||
<h3>{{ len $comments }} {{ i18n "moreComment" }}</h3>
|
||||
{{ else }}
|
||||
<h3>{{ len $comments }} {{ i18n "oneComment" }}</h3>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<h3>{{ i18n "noComment" }}</h3>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ $.Scratch.Set "hasComments" 0 }}
|
||||
{{ range $index, $comments := (index $.Site.Data.comments $slug ) }}
|
||||
{{ if not .parent }}
|
||||
{{ $.Scratch.Add "hasComments" 1 }}
|
||||
<article id="comment-{{ $.Scratch.Get "hasComments" }}" class="static-comment">
|
||||
<img class="comment-avatar" src="https://www.gravatar.com/avatar/{{ .email }}?s=48">
|
||||
{{ if .website }}
|
||||
<h4 class="comment-author"><a rel="external nofollow" href="{{ .website }}">{{ .name }}</a></h4>
|
||||
{{ else }}
|
||||
<h4 class="comment-author">{{ .name }}</h4>
|
||||
{{ end }}
|
||||
<div class="comment-timestamp"><a href="#comment-{{ $.Scratch.Get "hasComments" }}" title="Permalink to this comment"><time datetime="{{ .date }}">{{ dateFormat (default (i18n "shortdateFormat") .Site.Params.dateformat) .date}}</time></a></div>
|
||||
<div class="comment-content"><p>{{ .comment | markdownify }}</p></div>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
<form class="js-form form" method="post" action="{{ .Site.Params.staticman.api }}">
|
||||
<input type="hidden" name="options[slug]" value="{{ replace .RelPermalink "/" "" }}">
|
||||
<input type="hidden" name="options[parent]" value="">
|
||||
|
||||
{{ if .Site.Params.staticman.recaptcha }}
|
||||
<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ .Site.Params.staticman.recaptcha.sitekey }}">
|
||||
<input type="hidden" name="options[reCaptcha][secret]" value="{{ .Site.Params.staticman.recaptcha.secret }}">
|
||||
{{ end }}
|
||||
|
||||
<fieldset>
|
||||
<div class="textfield">
|
||||
<textarea name="fields[comment]" placeholder="{{ i18n "useMarkdown" }}"></textarea>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<div class="textfield">
|
||||
<input name="fields[name]" type="text" placeholder="{{ i18n "yourName" }}"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<div class="textfield">
|
||||
<input type="email" name="fields[email]" placeholder="{{ i18n "yourEmail" }}"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<div class="textfield">
|
||||
<input type="url" name="fields[website]" placeholder="{{ i18n "yourWebsite" }}"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{{ if .Site.Params.staticman.recaptcha }}
|
||||
<fieldset>
|
||||
<div class="g-recaptcha" data-sitekey="{{ .Site.Params.staticman.recaptcha.sitekey }}"></div>
|
||||
</fieldset>
|
||||
{{ end }}
|
||||
|
||||
<fieldset>
|
||||
<button class="button">
|
||||
Submit
|
||||
</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<article class="modal">
|
||||
<div class="title">
|
||||
<h2 class="js-modal-title"></h2>
|
||||
</div>
|
||||
<div class="js-modal-text"></div>
|
||||
<div>
|
||||
<button class="js-close-modal">Close</button>
|
||||
</div>
|
||||
</article>
|
|
@ -0,0 +1,2 @@
|
|||
<a href="{{ .Permalink }}" lang="{{ .Lang }}">{{ default .Lang .Site.Language.LanguageName }}</a>
|
||||
|
1
themes/beautifulhugo/layouts/shortcodes/column.html
Normal file
1
themes/beautifulhugo/layouts/shortcodes/column.html
Normal file
|
@ -0,0 +1 @@
|
|||
</div><div class="right">
|
1
themes/beautifulhugo/layouts/shortcodes/columns.html
Normal file
1
themes/beautifulhugo/layouts/shortcodes/columns.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="splitbox"><div class="left">
|
2
themes/beautifulhugo/layouts/shortcodes/content.html
Normal file
2
themes/beautifulhugo/layouts/shortcodes/content.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{$file := .Get 0}}
|
||||
{{ $file | readFile | markdownify }}
|
3
themes/beautifulhugo/layouts/shortcodes/details.html
Normal file
3
themes/beautifulhugo/layouts/shortcodes/details.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<details><summary>{{ .Get 0 }}</summary>
|
||||
{{ .Inner }}
|
||||
</details>
|
1
themes/beautifulhugo/layouts/shortcodes/endcolumns.html
Normal file
1
themes/beautifulhugo/layouts/shortcodes/endcolumns.html
Normal file
|
@ -0,0 +1 @@
|
|||
</div><div style="clear:both"></div></div>
|
29
themes/beautifulhugo/layouts/shortcodes/figure.html
Normal file
29
themes/beautifulhugo/layouts/shortcodes/figure.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!--
|
||||
Put this file in /layouts/shortcodes/figure.html
|
||||
NB this overrides Hugo's built-in "figure" shortcode but is backwards compatible
|
||||
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
|
||||
-->
|
||||
<!-- count how many times we've called this shortcode; load the css if it's the first time -->
|
||||
{{- if not ($.Page.Scratch.Get "figurecount") }}<link rel="stylesheet" href="{{ "css/hugo-easy-gallery.css" | absURL}}" />{{ end }}
|
||||
{{- $.Page.Scratch.Add "figurecount" 1 -}}
|
||||
<!-- use either src or link-thumb for thumbnail image -->
|
||||
{{- $thumb := .Get "src" | default (printf "%s." (.Get "thumb") | replace (.Get "link") ".") }}
|
||||
<div class="box{{ with .Get "caption-position" }} fancy-figure caption-position-{{.}}{{end}}{{ with .Get "caption-effect" }} caption-effect-{{.}}{{end}}" {{ with .Get "width" }}style="max-width:{{.}}"{{end}}>
|
||||
<figure {{ with .Get "class" }}class="{{.}}"{{ end }} itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
|
||||
<div class="img"{{ if .Parent }} style="background-image: url('{{ print .Site.BaseURL $thumb }}');"{{ end }}{{ with .Get "size" }} data-size="{{.}}"{{ end }}>
|
||||
<img itemprop="thumbnail" src="{{ $thumb }}" {{ with .Get "alt" | default (.Get "caption") | default $thumb }}alt="{{.}}"{{ end }}/><!-- <img> hidden if in .gallery -->
|
||||
</div>
|
||||
{{ with .Get "link" | default (.Get "src") }}<a href="{{.}}" itemprop="contentUrl"></a>{{ end }}
|
||||
{{- if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
|
||||
<figcaption>
|
||||
{{- with .Get "title" }}<h4>{{.}}</h4>{{ end }}
|
||||
{{- if or (.Get "caption") (.Get "attr")}}
|
||||
<p>
|
||||
{{- .Get "caption" -}}
|
||||
{{- with .Get "attrlink"}}<a href="{{.}}">{{ .Get "attr" }}</a>{{ else }}{{ .Get "attr"}}{{ end -}}
|
||||
</p>
|
||||
{{- end }}
|
||||
</figcaption>
|
||||
{{- end }}
|
||||
</figure>
|
||||
</div>
|
41
themes/beautifulhugo/layouts/shortcodes/gallery.html
Normal file
41
themes/beautifulhugo/layouts/shortcodes/gallery.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!--
|
||||
Put this file in /layouts/shortcodes/gallery.html
|
||||
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
|
||||
-->
|
||||
<!-- count how many times we've called this shortcode; load the css if it's the first time -->
|
||||
{{- if not ($.Page.Scratch.Get "figurecount") }}<link rel="stylesheet" href="{{ "css/hugo-easy-gallery.css" | absURL }}" />{{ end }}
|
||||
{{- $.Page.Scratch.Add "figurecount" 1 }}
|
||||
{{ $baseURL := .Site.BaseURL }}
|
||||
<div class="gallery caption-position-{{ with .Get "caption-position" | default "bottom" }}{{.}}{{end}} caption-effect-{{ with .Get "caption-effect" | default "slide" }}{{.}}{{end}} hover-effect-{{ with .Get "hover-effect" | default "zoom" }}{{.}}{{end}} {{ if ne (.Get "hover-transition") "none" }}hover-transition{{end}}" itemscope itemtype="http://schema.org/ImageGallery">
|
||||
{{- with (.Get "dir") -}}
|
||||
<!-- If a directory was specified, generate figures for all of the images in the directory -->
|
||||
{{- $files := readDir (print "/static/" .) }}
|
||||
{{- range $files -}}
|
||||
<!-- skip files that aren't images, or that inlcude the thumb suffix in their name -->
|
||||
{{- $thumbext := $.Get "thumb" | default "-thumb" }}
|
||||
{{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}<!-- is the current file a thumbnail image? -->
|
||||
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp)" }}<!-- is the current file an image? -->
|
||||
{{- if and $isimg (not $isthumb) }}
|
||||
{{- $caption := .Name | replaceRE "\\..*" "" | humanize }}<!-- humanized filename without extension -->
|
||||
{{- $linkURL := print $baseURL ($.Get "dir") "/" .Name | absURL }}<!-- absolute URL to hi-res image -->
|
||||
{{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}<!-- filename of thumbnail image -->
|
||||
{{- $thumbexists := where $files "Name" $thumb }}<!-- does a thumbnail image exist? -->
|
||||
{{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}<!-- absolute URL to thumbnail image -->
|
||||
<div class="box">
|
||||
<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
|
||||
<div class="img" style="background-image: url('{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}');" >
|
||||
<img itemprop="thumbnail" src="{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}" alt="{{ $caption }}" /><!-- <img> hidden if in .gallery -->
|
||||
</div>
|
||||
<figcaption>
|
||||
<p>{{ $caption }}</p>
|
||||
</figcaption>
|
||||
<a href="{{ $linkURL }}" itemprop="contentUrl"></a><!-- put <a> last so it is stacked on top -->
|
||||
</figure>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- else -}}
|
||||
<!-- If no directory was specified, include any figure shortcodes called within the gallery -->
|
||||
{{ .Inner }}
|
||||
{{- end }}
|
||||
</div>
|
7
themes/beautifulhugo/layouts/shortcodes/mermaid.html
Normal file
7
themes/beautifulhugo/layouts/shortcodes/mermaid.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<link href="{{"css/mermaid.css" | relURL}}" type="text/css" rel="stylesheet"/>
|
||||
<script defer src="{{"js/mermaid.js" | relURL}}">
|
||||
mermaid.initialize({startOnLoad:true});
|
||||
</script>
|
||||
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}" >
|
||||
{{ safeHTML .Inner }}
|
||||
</div>
|
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 547 B |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue