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

Merge branch 'feature/#104-list-of-manuscripts' into 'develop'

List of Manuscripts

See merge request !76
parents 352fe05a 29cd66aa
No related branches found
No related tags found
1 merge request!76List of Manuscripts
Pipeline #225006 passed
......@@ -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).
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](src/manuscripts.md), run the following code.
```bash
head -$(grep " HTML " src/manuscripts.md -n | cut -f1 -d:) src/manuscripts.md >> src/tmp.md
echo "" >> src/tmp.md # newline
curl https://ahikar-test.sub.uni-goettingen.de/api/website/manuscripts | sed "s#xhtml:##g" >> src/tmp.md
# check result at tmp.md and than
mv src/tmp.md src/manuscripts.md
```
\ No newline at end of file
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