-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Thank you for a great component.
I have added an H1 title to the track title and when doing this it also made Description H1, so a few more changes were made to some files and two hew files added so this is H2.
Next added the SEO description for the tracks, it was pulling the site description, added code to default.php file in comjtg/views/track/tmpl/default.php so the SEO description is taken from the track description, limited to the first 160 characters.
Attached are the amended files (seo.zip) and the two new files. I am not a programmer, used Gemini to assist.
An example of the changes working can be seen here: https://sahikes.com/location-maps/hiking-tracks/track/chain-ladder-pass
Files are as follows:
comjtg/views/track/view.html.php
comjtg/views/track/tmpl/default.php
comjtg/assets/template/default/description_close.php
comjtg/assets/template/default/description_open.php
comjtg/assets/template/default/headline_close.php
comjtg/assets/template/default/headline_open.php
comjtg/assets/template/default/subheadline_close.php (new)
comjtg/assets/template/default/subheadline_open.php (new)
comjtg/assets/template/default/jtg_style.css
Kind regards,
Arthur