Browse Source

fix: use /assets/ prefix for public paths

ref: https://github.com/go-gitea/gitea/pull/15219
Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>
master
Muthu Kumar 3 years ago
parent
commit
6c8dde3783
Signed by: mkrhere GPG Key ID: 3FD688398897097E
  1. 2
      templates/custom/header.tmpl
  2. 2
      templates/home.tmpl

2
templates/custom/header.tmpl

@ -1,4 +1,4 @@
<link rel="stylesheet" href="/custom.css" /> <link rel="stylesheet" href="/assets/custom.css" />
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital@0;1&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital@0;1&display=swap" rel="stylesheet">

2
templates/home.tmpl

@ -2,7 +2,7 @@
<div class="page-content home"> <div class="page-content home">
<div class="sixteen wide center aligned centered column hero-flex"> <div class="sixteen wide center aligned centered column hero-flex">
<div> <div>
<img class="logo" width="100" height="100" src="/img/logo.svg"/> <img class="logo" width="100" height="100" src="/assets/img/logo.svg"/>
</div> </div>
<div class="hero"> <div class="hero">
<h1 class="ui icon header title"> <h1 class="ui icon header title">

Loading…
Cancel
Save