# How to edit the output of {{ghost\_head}}

**URL:** <https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392>\
**Category:** Developer help\
**Created:** [January 31, 2019, 9:57am UTC](https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392 "2019-01-31T09:57:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Solomon\_Mokua](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/solomon_mokua/32/1926_2.png) [@Solomon\_Mokua](https://forum.ghost.org/u/Solomon_Mokua)\
**Post date:** [January 31, 2019, 9:57am UTC](https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392/1 "2019-01-31T09:57:34Z")

</div>

Hi Guys,  
Basically I want to take advantage of Google’s Freshness Factor To get a ranking Boost as explained in this post [1 Easy Google Freshness Tip When Updating Website Content](https://bit.ly/2WsPBzv)

From my research, I found out that the tag {{ghost\_head}} in default.hbs of Casper theme is responsible for outputting structured data.

What I want to do is edit the structured data so that the datePublished value is always equal to the dateModified value. Any ideas where I should be looking?

I also want to fix this issue. I know what to add but not sure where exactly to add it

![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/641b7b6275523ba4cccb39d6c8b604f7710d6739.png)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![luciandavidescu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/luciandavidescu/32/2270_2.png) [@luciandavidescu](https://forum.ghost.org/u/luciandavidescu)\
**Post date:** [January 31, 2019, 12:56pm UTC](https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392/2 "2019-01-31T12:56:20Z")

</div>

The tactic described is cheap and almost certainly ineffective, rather a ticket to Google’s spammers shortlist.

If someone does need to edit the content of the structured data, for more legitimate reasons, all they can do for now is skip {{ghost\_head}} altogether and do their own thing there.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [January 31, 2019, 1:37pm UTC](https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392/3 "2019-01-31T13:37:26Z")

</div>

> The tactic described is cheap and almost certainly ineffective

It’s also unnecessary. The sitemap files contain the last modified date as well as the post meta data having modified and publish dates, Google and other search engines will use as needed, trying to game it by continuously changing the publish date is unlikely to end well.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [February 14, 2019, 1:46pm UTC](https://forum.ghost.org/t/how-to-edit-the-output-of-ghost-head/5392/4 "2019-02-14T13:46:38Z")

</div>

Closed on February 14, 2019, 1:46pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
