diff --git a/.gitignore b/.gitignore index 55789e1..1cbb57c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /content/archy /public *.lock +/static/pesquisa.st diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..17aecce --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +all: + ./mkarchive.sh + ./mkstork.sh > stork.toml + stork build -i stork.toml -o static/pesquisa.st + hugo diff --git a/README.md b/README.md index 1074e1d..db6201f 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,11 @@ Plataforma dedicada à divulgação de informação sobre DRM em Portugal. ## Tarefas em falta -- [ ] Pesquisa +- [x] Pesquisa - [ ] Garantir acessibilidade, foco no carrossel na página principal - [ ] Garantir que o link antigo de RSS funciona (`/feed/`) - [ ] Meter o carrossel a andar sozinho com um bocadinho de javascript - [ ] Remover google fonts (Oswald) - [ ] Fazer upload dos vídeos do youtube para o viste.pt e adicionar embeds - [ ] Substituir `/img/logo.png` por versão de melhor qualidade +- [ ] Fazer self-host do stork.{js,wasm} diff --git a/config.toml b/config.toml index e084a4b..19716bb 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = 'http://example.org/' +baseURL = 'https://drmpt.pxto.pt/' languageCode = 'pt-pt' defaultContentLanguage = "pt" title = "DRM Portugal" diff --git a/content/search/_index.md b/content/search/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a866576..4facdc6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -43,6 +43,11 @@