[GeoNode-users] site_index.html not being included
Charles Cossé
ccosse at gmail.com
Tue Dec 22 07:09:51 PST 2015
PS We are using geonode-project, yes. So I think geonode-project's
site_index.html is being ignored for some reason when using geonode-project
with the new geonode release.
We also tried the Dockerfile
<https://github.com/GeoNode/geonode/blob/master/Dockerfile> for comparison
and I see there that the Dockerfile does not use geonode-project (so no
comparison possible). Is geonode-project still the recommended way to
customize a geonode site? It worked well with the last release candidate
of geonode, but not with the new geonode release. Thanks in advance for
more help and suggestions,
Charles
On Tue, Dec 22, 2015 at 7:49 AM, Charles Cossé <ccosse at gmail.com> wrote:
> Hi again, sorry for not being more clear. All files are present but our
> site_index.html is not being served. Our modified front page worked well
> with the last release candidate but with a fresh install of the new release
> site_index.html is being ignored, which breaks our front page. It can be
> verified with just a string added to each of site_base and site_index.html
> and noting that only the string from site_base.html shows up on the front
> page. This is the conclusion we came to yesterday after much testing and
> checking. I will triple check just in case. Thank you,
> -Charles
>
> On Tue, Dec 22, 2015 at 4:32 AM, Francesco Bartoli <xbartolone at gmail.com>
> wrote:
>
>> Hi,
>>
>> The file is included in the version 2.4 of the repository:
>>
>>
>> https://github.com/GeoNode/geonode-project/blob/master/project_name/templates/site_index.html
>>
>> Did you run a fresh git clone for your project?
>>
>> Francesco
>>
>>> On Dec 22 2015, at 12:28 am, Charles Cossé <ccosse at gmail.com> wrote:
>>>
>>> Hi, yes i am using geonode-project and site_base is being included
>>> correctly but site_index is not.
>>> On Dec 21, 2015 4:53 PM, "Francesco Bartoli" <xbartolone at gmail.com>
>>> wrote:
>>>
>>> Hi Charles,
>>>
>>> site_index is a template from the geonode-project [1] and doesn’t
>>> compare in the geonode code base. Essentially you can use it as an
>>> extension of the template index.html and customize geonode
>>>
>>> Regards,
>>> Francesco
>>>
>>> [1] https://github.com/GeoNode/geonode-project/
>>>
>>> Il giorno 21/dic/2015, alle ore 21:22, Charles Cossé <ccosse at gmail.com>
>>> ha scritto:
>>>
>>> Hi, using the new/recent 2.4 release I find that site_index.html is not
>>> being included but site_base.html is. Does anyone else see this
>>> happening? Thanks,
>>> Charles
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151222/6c6f337a/attachment-0001.html>
More information about the geonode-users
mailing list