Skip to content

Commit 78d8eb6

Browse files
committed
Add Google Search Console verification meta tag
1 parent 9cecc82 commit 78d8eb6

1 file changed

Lines changed: 19 additions & 17 deletions

File tree

_includes/layouts/base.njk

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,27 @@
55
<title>{{ title or metadata.title }}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77

8-
{# ستايلات القالب #}
8+
<!-- Google Search Console Verification -->
9+
<meta name="google-site-verification" content="xOWsgbdzrIUsA4Xf_0osfrpJo1n7IA3FgJ_B-KX1xfs" />
10+
11+
<!-- ستايلات القالب -->
912
<link rel="stylesheet" href="{{ '/css/w3.css' | url }}">
1013
<link rel="stylesheet" href="{{ '/css/style.css?v=11' | url }}">
1114

12-
{# Font Awesome للأيقونات #}
15+
<!-- Font Awesome للأيقونات -->
1316
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
1417

15-
{# Favicon (اختياري) #}
18+
<!-- Favicon -->
1619
<link rel="icon" href="{{ '/img/favicon.png' | url }}">
1720

1821
<!-- Google Analytics -->
19-
<!-- Google Search Console Verification -->
20-
<meta name="google-site-verification" content="xOWsgbdzrIUsA4Xf_0osfrpJo1n7IA3FgJ_B-KX1xfs" />
21-
22-
<!-- Google tag (gtag.js) -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5QS8CQJ3F5"></script>
24-
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag(){dataLayer.push(arguments);}
27-
gtag('js', new Date());
28-
gtag('config', 'G-5QS8CQJ3F5');
29-
</script>
22+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5QS8CQJ3F5"></script>
23+
<script>
24+
window.dataLayer = window.dataLayer || [];
25+
function gtag(){dataLayer.push(arguments);}
26+
gtag('js', new Date());
27+
gtag('config', 'G-5QS8CQJ3F5');
28+
</script>
3029

3130
<style>
3231
/* الصورة في الهيدر بدون إطار أو دائرة */
@@ -74,7 +73,9 @@
7473
7574
{% raw %}
7675
/* موبايل: ألغِ الإزاحة */
77-
@media only screen and (max-width:600px) { #main { margin-left: 0; } }
76+
@media only screen and (max-width:600px) {
77+
#main { margin-left: 0; }
78+
}
7879
{% endraw %}
7980
</style>
8081
</head>
@@ -94,7 +95,7 @@
9495
<p>About</p>
9596
</a>
9697

97-
<!-- Projects (بدل Photos) -->
98+
<!-- Projects -->
9899
<a href="/projects/" class="w3-bar-item w3-button sidebar-link" title="Projects" aria-label="Projects">
99100
<i class="fa fa-film" aria-hidden="true"></i>
100101
<p>Projects</p>
@@ -117,13 +118,14 @@
117118
</div>
118119
</div>
119120

121+
<!-- Main content -->
120122
<div class="w3-padding-large" id="main">
121123
<main {% if templateClass %} class="{{ templateClass }}"{% endif %}>
122124
{{ content | safe }}
123125
</main>
124-
125126
</div>
126127

127128
<!-- Current page: {{ page.url | url }} -->
128129
</body>
129130
</html>
131+

0 commit comments

Comments
 (0)