[ckan-dev] How does CKAN get the image name in the hgroup for the masthead header
Judith Moran
Judith.Moran at nt.gov.au
Thu Apr 4 07:47:55 UTC 2019
Hi,
I am required to change the NT.GOV.AU to Data.NT
[cid:image001.png at 01D4EB09.72DD3640]
I have located the HTML in and worked out that script in index.html is also involved.
<script>
if ( window.location.pathname == '/' ){
document.body.className += ' ' + 'home';
}
</script>
<body class=" home" data-locale-root="http://opendata.nt.gov.au/" data-site-root="http://opendata.nt.gov.au/"><header class="navbar navbar-static-top masthead"><div class="container"><hgroup class="header-image navbar-left">
<a class="logo" href="/"><img title="NTG Open Data Portal" alt="NTG Open Data Portal" src="https://beta.nt.gov.au/__data/assets/file/0004/517225/ntg-desert-rose-reverse.svg"></a>
</hgroup></div></header></body>
</html>
Can Someone assist in advising how I change this without a major rewrite of the HTML Code.
Regards,
Judy Moran
Manager Data Strategy
Department of Corporate and Information Services
Northern Territory Government of Australia
T: 892 96550
E: DataStrategy.NTG at nt.gov.au<mailto:DataStrategy.NTG at nt.gov.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190404/e5fb1dee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 21158 bytes
Desc: image001.png
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190404/e5fb1dee/attachment-0001.png>
More information about the ckan-dev
mailing list