Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Adsense

Started by Muut Archive 12 years ago · 1 replies · 336 views
12 years ago

Is there a way to add adsense code (or any HTML code for that matter) to the site? The HTML code is stripped out by the markdown coding method.

12 years ago

Something like that should be put in the theme, probably in the partials/base.html.twig. This way it will be included on all pages irrespective of the content.

If you do start editing the theme, I strongly suggest copying the default antimatter theme and changing the default theme in your user/config/system.yaml

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1277 9 years ago
Archive · by Muut Archive, 9 years ago
2 885 9 years ago
Archive · by Muut Archive, 9 years ago
2 4014 9 years ago
Archive · by Muut Archive, 9 years ago
1 2890 9 years ago
Archive · by Muut Archive, 9 years ago
3 1074 9 years ago