Skip to content

Commit

Permalink
treat wordnet.dk as the main page
Browse files Browse the repository at this point in the history
i.e. do not redirect to the KU project page
  • Loading branch information
simongray committed May 17, 2024
1 parent 761ca02 commit 3c19441
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ www.wordnet.dk {
}

wordnet.dk, localhost {
redir / https://cst.ku.dk/projekter/dannet
redir / /dannet

rate_limit {remote.ip} 240r/m
encode gzip
Expand Down
2 changes: 1 addition & 1 deletion pages/about-da.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Følgende dokumenter er kun tilgængelige på engelsk og primært tiltænkt udvi
* [The original rationale][rationale]
* [Querying DanNet][queries]
* [Explaining the sense/synset labels][label-rewrite]
* [Github-projektet][Github]: DanNets kildekode er tilgængelig på Github + yderligere dokumentation.
* [Github-projektet][Github]

[DSL]: https://dsl.dk/ "Dansk Sprog- og Litteraturselskab"
[CST]: https://cst.ku.dk/ "Center for Sprogteknologi (Københavns Universitet)"
Expand Down
2 changes: 1 addition & 1 deletion pages/about-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following documents are only available in English and mostly for developers:
* [The original rationale][rationale]
* [Querying DanNet][queries]
* [Explaining the sense/synset labels][label-rewrite]
* [Github project][Github]: the source code for DanNet is available on Github + additional documentation.
* [Github project][Github]

[DSL]: https://dsl.dk/ "Dansk Sprog- og Litteraturselskab"
[CST]: https://cst.ku.dk/english "Centre for Language Technology (University of Copenhagen)"
Expand Down
3 changes: 2 additions & 1 deletion pages/frontpage-da.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

DanNet er et [WordNet][WordNet] for det danske sprog skabt i fællesskab af [Dansk Sprog- og Litteraturselskab][DSL] og [Center for Sprogteknologi][CST] (KU). Du kan **søge i DanNet** via søgefeltet i øverste venstre hjørne af siden.

Du er også velkommen til at læse lidt [mere om DanNet][about], hvor du bl.a. kan finde links til at downloade vores datasæt. Forskningsartikler og andre relevante publikationer kan findes på [KU-projektsiden][projectpage].
* [Om DanNet][about] — her kan du også finde links til vores datasæt.
* [Projektside][projectpage] — akademiske artikler og andre relevante udgivelser.

[projectpage]: https://cst.ku.dk/projekter/dannet "DanNet-projektsiden"
[about]: /dannet/page/about "Om DanNet"
Expand Down
3 changes: 2 additions & 1 deletion pages/frontpage-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

DanNet is a [WordNet][WordNet] for the Danish language co-created by [Dansk Sprog- og Litteraturselskab][DSL] and the [Centre for Language Technology][CST] (KU). You can **query DanNet** using the search field in the upper left corner of the page.

You are also welcome to read a bit [more about DanNet][about], where you—amongst other things—may find links to our datasets. Journal articles and other relevant published works are to be found on the [KU project page][projectpage].
* [About DanNet][about] — here you can also find links to our datasets.
* [Project page][projectpage] — journal articles and other relevant published works.

[projectpage]: https://cst.ku.dk/projekter/dannet "DanNet project page"
[about]: /dannet/page/about "About DanNet"
Expand Down
15 changes: 15 additions & 0 deletions resources/public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ article.document {
display: flex;
flex-direction: column;
justify-content: center;
max-width: 90ch;
}

article.document > div {
Expand All @@ -176,6 +177,20 @@ article.document > div {

article.document h1 {
font-size: 48px;
margin-bottom: 32px;
}

article.document p {
margin: 1em 0 2em 0;
}

article.document {
font-size: 18px;
}

article.document li > a:first-child {
font-weight: bold;
text-transform: uppercase;
}

/* This essentially works like sharpening/emboss effect on non-white text. */
Expand Down

0 comments on commit 3c19441

Please sign in to comment.