Quelques corrections de détails
This commit is contained in:
parent
9dbb0a52f3
commit
3d253cc009
3 changed files with 12 additions and 5 deletions
|
@ -14,6 +14,12 @@ import javax.ws.rs.core.MediaType
|
|||
@Path("/")
|
||||
class ListHtmlResource(val list: Template) {
|
||||
|
||||
|
||||
@GET
|
||||
@Path("")
|
||||
@Produces(MediaType.TEXT_HTML)
|
||||
fun root(): TemplateInstance = accueil()
|
||||
|
||||
@GET
|
||||
@Path("accueil")
|
||||
@Produces(MediaType.TEXT_HTML)
|
||||
|
|
|
@ -3,6 +3,7 @@ package fr.spacefox.japon.data
|
|||
import java.time.LocalDate
|
||||
import java.time.Month
|
||||
import java.time.format.DateTimeFormatter
|
||||
import java.util.*
|
||||
|
||||
enum class Page(
|
||||
val category: Category,
|
||||
|
@ -205,7 +206,7 @@ enum class Page(
|
|||
content =
|
||||
arrayOf(
|
||||
Text(
|
||||
"""Depuis les <a href="page/wtfmatsumoto#content">bancs "pour admirer la vue"</a> sur le pont"""),
|
||||
"""Depuis les <a href="page/wtfmatsumoto#content">bancs « pour admirer la vue »</a> sur le pont"""),
|
||||
Image("quotidien", "Matsumoto 039", ""),
|
||||
Image("quotidien", "Matsumoto 040", ""),
|
||||
Text(
|
||||
|
@ -1862,5 +1863,5 @@ enum class Page(
|
|||
fun imgCount(): Int = content.count { it is Image }
|
||||
}
|
||||
|
||||
private val machineFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd")
|
||||
private val humanFormatter = DateTimeFormatter.ofPattern("EEEE dd MMMM yyyy")
|
||||
private val machineFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd", Locale.FRANCE)
|
||||
private val humanFormatter = DateTimeFormatter.ofPattern("EEEE dd MMMM yyyy", Locale.FRANCE)
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<title>Un renard au Japon – {#insert title}Default Title{/}</title>
|
||||
<meta name="description" content="Photos de voyage d'un renard au Japon">
|
||||
<meta name="author" content="SpaceFox">
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
<base href="http://localhost:8080/"/>
|
||||
<link rel="icon" type="image/png" href="/favicon.png"/>
|
||||
<base href="https://japon.spacefox.fr/"/>
|
||||
<link href="/css/normalize.css" rel="stylesheet"/>
|
||||
<link href="/css/main.css" rel="stylesheet"/>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Reference in a new issue