List for cgit developers and users
 help / color / mirror / Atom feed
From: actionmystique at gmail.com (jean-christophe manciot)
Subject: The logo of the about page is never shown although it is displayed on all other pages
Date: Sat, 25 Aug 2018 16:24:15 +0200	[thread overview]
Message-ID: <CAKcFC3YNTf_uQo4USbaB1JNmyHz-9yYg7dNZKG8Rk9xEftpJSQ@mail.gmail.com> (raw)
In-Reply-To: <20180825095053.GB824@john.keeping.me.uk>

Something strange happened.
I played with some settings to find a workaround, and the issue vanished
suddenly:
I was careful about the a 'cache-about-ttl=1' parameter to make sure the
cache was not involved in this.
I refreshed the about page several times during a few mins, but the issue
was still there.
I added a 'homepage=https://git.sdxlive.com/<repository_name>/about' in the
cgitrc file of all the repos  and after some time (more than 1 mn), the
issue was gone.
I removed those settings and the issue did not resurface.
All these tests were done with chrome 68.0.3440.106.
If you want to check it out, the website is live at *https://git.sdxlive.com
<https://git.sdxlive.com>*.


On Sat, Aug 25, 2018 at 11:50 AM John Keeping <john at keeping.me.uk> wrote:

> On Sat, Aug 25, 2018 at 09:41:44AM +0200, jean-christophe manciot wrote:
> > I use *v1.2.1* with the patch regarding the table of contents
> > <
> https://git.zx2c4.com/cgit/diff/filters/html-converters/md2html?h=ch/anchorlinks&id=42e70dcbe84e128ba23a25918e3d5d9aac656dc6
> >
> >  .
> > I have the following setup:
> > /etc/cgitrc:
> > logo=/cgit-css/cgit.png
> >
> > Each repo has its own cgitrc, for instance:
> > logo=https://git.sdxlive.com/PPA/plain/logo.png
> > logo-link=https://help.ubuntu.com/lts/serverguide/index.html
> >
> > The logo is displayed correctly on all pages (summary, refs, log, ...)
> > except on the about page where I get:
>
> Can you share a public URL demonstrating the problem?
>
> The code for outputting the page header (including the logo) is shared
> for all pages so I can't see why it would output a broken link just on
> the about page.
>


-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180825/18094b34/attachment.html>


  reply	other threads:[~2018-08-25 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-25  7:41 actionmystique
2018-08-25  9:50 ` john
2018-08-25 14:24   ` actionmystique [this message]
2018-08-25 17:39     ` john

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKcFC3YNTf_uQo4USbaB1JNmyHz-9yYg7dNZKG8Rk9xEftpJSQ@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).