>
> I thought I had documented that, someplace

 2.5 change log comment :

> Fossil now automatically generates the <html><head>...</head><body> at the
> beginning of each web page if the configurable header lacks a <body> tag.


I would suggest a variation of that to be included in "Edit Page Header"
page as well as maybe the Fossil : Theming docs page
<https://www.fossil-scm.org/index.html/doc/trunk/www/customskin.md> .

Have to admit, the terminology threw me off. In my mind I will always
associate "header" with a class attribute e.g. <div class="header">.
Did not realize that in the context of Fossil, "Header" represents all the
html content or structure prior to the generated content.
Fossil Theme docs explain this but somehow it flew right over my head.




On Mon, Apr 30, 2018 at 7:08 PM, Richard Hipp <d...@sqlite.org> wrote:

> On 4/30/18, Peter Vonča <pvo...@gmail.com> wrote:
> > Admin/Skins page,
> >
> > Step 4: Make Edits gives me 4 options, CSS,Header,Footer,Details.
> > Obviously I want to change the header but that's not referring to the
> > <head> element of the html doc. Instead, it's referring to the <div>
> > container of class "Header" which for all skins is the default first
> block
> > in the <body> of the document.
> > You can check this by initializing the draft1 with one of the presets
> such
> > as Default(built-in) and then edit the Header it will read :
> >
> > <div class="header">
> >       etc...
> > </div>
>
> Fossil inserts its own default <head>, unless you include <body> in
> your custom header.  So if you just puts:
>
> <html>
> <head>...whatever...</head>
> <body>
>
> At the top of your custom header, Fossil will omit its default <head>
> and use whatever it is you provide.
>
> I thought I had documented that, someplace.  But probably I need to
> document it *better*.  Suggestions are welcomed.
>
> Or, maybe I should change the code so that it inserts its own default
> header if and only if you omit "<head>" from your custom header, as
> that seems to make a little more sense.  I suppose I was thinking that
> anybody that includes <head> in their header will also include <body>.
> --
> D. Richard Hipp
> d...@sqlite.org
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to