<!-- NE PLUS UTILISER CE FICHIER, voir tuto pour utiliser body_outer_pre.tmpl        -->
<!-- IL FAUT SUPPRIMER CE FICHIER du serveur Gitea... (il peut rester dans le dépôt) -->

<!-- Voir : https://docs.theme-park.dev/themes/gitea/#adding-the-themes-in-gitea -->

{{ if .IsSigned }}
  {{ if and (ne .SignedUser.Theme "gitea") (ne .SignedUser.Theme "arc-green") }}
    <!-- <link rel="stylesheet" href="/styles.css"> -->
    <!-- <link rel="stylesheet" href="/css/gitea.css"> -->
    <link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/gitea-base.css">
    <link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/chroma.css">    
    
		<!-- <link rel="stylesheet" href="https://theme-park.dev/css/theme-options/{{.SignedUser.Theme}}.css"> -->
  	<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{.SignedUser.Theme}}.css">
  {{end}}

{{ else if and (ne DefaultTheme "gitea") (ne DefaultTheme "arc-green") }}
	<!-- <link rel="stylesheet" href="/styles.css"> -->
	<!-- <link rel="stylesheet" href="/css/gitea.css"> -->
	<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/gitea-base.css">
	<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/chroma.css">
  <link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{DefaultTheme}}.css">
{{end}}