Skip to content
Snippets Groups Projects
Commit 8a230c70 authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

feat: add list of manuscripts to a single page via API

parent 881c1150
No related branches found
No related tags found
1 merge request!76List of Manuscripts
Pipeline #224646 passed
...@@ -25,3 +25,14 @@ To format content blocks take the [vuetify UI library styles](https://vuetifyjs. ...@@ -25,3 +25,14 @@ To format content blocks take the [vuetify UI library styles](https://vuetifyjs.
If you want to get an idea why things look the way they look already, peek into existing files and inspect the { } parts - [like here at the homepage](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/blob/main/src/index.md). If you want to get an idea why things look the way they look already, peek into existing files and inspect the { } parts - [like here at the homepage](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/blob/main/src/index.md).
Images and files can be added too, a description on how to do that is not necessary atm, since it's not a project requirement. Images and files can be added too, a description on how to do that is not necessary atm, since it's not a project requirement.
## Content via API
Some pages are prepared form TEI source files. HTML is provided via backend.
To update the list of manuscripts, run the following code.
```bash
head -$(grep " HTML " src/manuscripts.md -n | cut -f1 -d:) src/manuscripts.md >> tmp.md
echo "" >> tmp.md # newline
curl https://ahikar-test.sub.uni-goettingen.de/api/website/manuscripts >> tmp.md
# check result at tmp.md and than
mv tmp.md src/manuscripts.md
```
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment