reorganise docs into docs-local

This commit is contained in:
Avris 2021-09-30 18:34:22 +02:00
parent 3c608f54de
commit 88bbf25c0d
17 changed files with 7 additions and 4 deletions

View File

@ -23,8 +23,10 @@ deploy: install
node server/migrate.js
echo "\nimportScripts('https://arc.io/arc-sw-core.js');" >> static/sw.js
ln -sfn ../data/img ./static/img-local
ln -sfn ../data/docs ./static/docs-local
switch:
rm -rf cache
ln -sfn ./locale/${LANG} ./data
ln -sfn ../locale/{$LANG}/img ./static/img-local
ln -sfn ../locale/${LANG}/img ./static/img-local
ln -sfn ../locale/${LANG}/docs ./static/docs-local

0
locale/_/docs/.gitkeep Normal file
View File

0
locale/de/docs/.gitkeep Normal file
View File

0
locale/en/docs/.gitkeep Normal file
View File

0
locale/es/docs/.gitkeep Normal file
View File

0
locale/fr/docs/.gitkeep Normal file
View File

0
locale/nl/docs/.gitkeep Normal file
View File

0
locale/no/docs/.gitkeep Normal file
View File

View File

@ -3,7 +3,7 @@
<small>2021-04-20 | [@andrea](/@andrea)</small>
<section>
<a href="/docs/Manifest Niebinarnej Polszczyzny.pdf" target="_blank" class="btn btn-outline-primary d-block">
<a href="/docs-local/Manifest Niebinarnej Polszczyzny.pdf" target="_blank" class="btn btn-outline-primary d-block">
<span class="fal fa-file-pdf"></span>
Wersja do ściągnięcia
</a>

View File

@ -5,13 +5,13 @@
Prezentacja Sybila stworzona na V Kongres Anarchistyczny Kongresono (kliknij na obrazek, aby otworzyć).
<p>
<a href="/docs/Poradnik języka neutralnego płciowo.pdf" target="_blank">
<a href="/docs-local/Poradnik języka neutralnego płciowo.pdf" target="_blank">
<img src="/img-local/blog/poradnik-języka-neutralnego-płciowo.png" class="hero" alt="Prezentacja w formacie PDF"/>
</a>
</p>
<p>
<a href="/docs/Poradnik języka neutralnego płciowo.pdf" target="_blank" class="btn btn-primary d-block">
<a href="/docs-local/Poradnik języka neutralnego płciowo.pdf" target="_blank" class="btn btn-primary d-block">
<span class="fal fa-file-pdf"></span>
Prezentacja
</a>

0
locale/pt/docs/.gitkeep Normal file
View File

0
locale/yi/docs/.gitkeep Normal file
View File

0
locale/zh/docs/.gitkeep Normal file
View File

1
static/docs-local Symbolic link
View File

@ -0,0 +1 @@
../locale/pl/docs

0
static/docs/.gitkeep Normal file
View File