2020-10-12T09:23:48.754636Ztag:www.thedroneely.com,2018:/isso/thread/posts/lets-customize-gitea/Comments for www.thedroneely.com/posts/lets-customize-gitea/tag:www.thedroneely.com,2018:/isso/3/17Comment #172020-10-12T09:23:48.754636ZAmin<p>oh thanks. I may serve the vendor folder myself</p>tag:www.thedroneely.com,2018:/isso/3/16Comment #162020-10-11T19:02:15.914834ZThedro<p>Hey, your <code>gitea</code> instance version is <code>1.12.5</code>. My <code>gitea</code> instance is on version <code>1.11.8</code> right now and that template repository is only compatible with version <code>1.11.8</code>. </p>
<p>Remember that you'll need to adapt your custom templates to your version (in your case <code>1.12.5</code>) as they change significantly between each version/revision.</p>tag:www.thedroneely.com,2018:/isso/3/15Comment #152020-10-11T18:48:57.095136ZAmin<p>Hi there!<br>
I've just cloned the repo but it doesn't work properly and it seems that vendor folder in public is missing. would you push that to your repo as well?</p>
<p>here's my instance: <a href="http://local.vahedinia.me" rel="nofollow noopener">local.vahedinia.me</a></p>tag:www.thedroneely.com,2018:/isso/3/7Comment #72020-03-19T09:46:00.997697ZThedro<p>Oh right, that <code>favicon.ico</code> file is a fallback. Make sure you also place <code>favicon.png</code> in <code>custom/public/img</code> and restart <code>gitea</code>. But most likely, your browser is caching the old image, so either clear the cache or do a hard page refresh/reload to bypass the cache.</p>tag:www.thedroneely.com,2018:/isso/3/6Comment #62020-03-19T03:23:11.595400ZBrian<p>That worked. Thanks. Now the images are not showing. Still can't override the favicon. It's peeving me</p>tag:www.thedroneely.com,2018:/isso/3/5Comment #52020-03-18T13:24:24.177303ZThedro<p>Hey Brian, make sure that you download the template file matching your current Gitea version. If you are using Gitea version 1.10.3, then use the <code>header_navbar.tmpl</code> from the 1.10.3 tag tree; <a href="https://github.com/go-gitea/gitea/tree/v1.10.3" rel="nofollow noopener">https://github.com/go-gitea/gitea/tree/v1.10.3</a>. That <code>svg</code> function does not exist in your version.</p>tag:www.thedroneely.com,2018:/isso/3/4Comment #42020-03-18T12:58:46.419804ZBrian<p>I'm trying the <em>head_navbar.tmpl</em> provided on GitHub but it's giving me an error. It says svg is not a function. I have placed <em>gitea-sm.png</em> and <em>favicon.ico</em> in <em>custom/public/img</em>, but they are not overriding the Gitea logo.<br>
Please help</p>