Skip to content

Commit 09bcb9a

Browse files
committed
Integrate perl-ads
1 parent 8d31ac5 commit 09bcb9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app.psgi

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ builder {
8888
"frame-ancestors 'self' *.metacpan.org",
8989

9090
# temporary 'unsafe-eval' because root/static/js/jquery.tablesorter.js
91-
"script-src 'self' 'unsafe-eval' 'unsafe-inline' *.metacpan.org https://*.googletagmanager.com",
91+
"script-src 'self' 'unsafe-eval' 'unsafe-inline' *.metacpan.org https://*.googletagmanager.com https://perl-ads.perlhacks.com",
9292
),
9393
'X-Frame-Options' => 'SAMEORIGIN',
9494
'X-XSS-Protection' => '1; mode=block',

root/base.tx

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<link rel="shortcut icon" href="/static/icons/favicon.ico">
2323
<link rel="apple-touch-icon" sizes="152x152" href="/static/icons/apple-touch-icon.png">
2424
<link rel="search" href="/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
25+
<script async src="https://perl-ads.perlhacks.com/perl-ads.js"></script>
2526
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E82Q2V8LVD"></script>
2627
%% block opengraph -> { }
2728
</head>
@@ -117,7 +118,7 @@
117118
</ul>
118119
</nav>
119120
<div class="page-content [% block page_content_class -> { } %]">
120-
<div class="top-notify-banner">
121+
<div id="perl-ad-target" class="top-notify-banner perl-ad-target">
121122
</div>
122123
<nav class="sidebar">
123124
%% block left_nav -> {

0 commit comments

Comments
 (0)