Skip to content

Commit a62388a

Browse files
committed
In base.html add title tag, and in the head tag add:
- meta name='description', content='...' - meta name='robots', content='...' - per request Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent 0b03256 commit a62388a

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/docs/_templates/base.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@
2222
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
2323

2424
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
25-
2625
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
26+
<link rel="preconnect" href="https://fonts.googleapis.com">
27+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
28+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&display=swap" rel="stylesheet">
29+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
30+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&display=swap" rel="stylesheet">
2731

2832
<meta http-equiv="Content-Security-Policy"
29-
content="
33+
content="
3034
default-src 'self';
3135
child-src 'self'
3236
data: https://*.github.io;
@@ -42,14 +46,11 @@
4246
https://*.bootstrapcdn.com https://*.cloudflare.com https://*.googleapis.com https://*.gstatic.com https://www.google-analytics.com;
4347
worker-src 'self'"
4448
/>
45-
<link rel="preconnect" href="https://fonts.googleapis.com">
46-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
47-
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&display=swap" rel="stylesheet">
48-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
49-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&display=swap" rel="stylesheet">
49+
<meta name="description" content="Find C++, Python, and Fortran samples for AI, ML, CUDA to SYCL migration, and performance acceleration using CPUs, GPUs, and FPGAs.">
50+
<meta name="robots" content="max-snippet:-1">
51+
<title> Intel Samples Catalog </title>
5052

51-
<title>{% block title %}Intel oneAPI Samples Catalog {% endblock %} </title>
52-
</head>
53+
</head>
5354
{% endblock %}
5455
<body>
5556
<!-- Google tag (gtag.js) -->

src/docs/_templates/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{% extends "base.html" %}
2-
<!-- {% block title %}Intel oneAPI Samples Catalog{% endblock %} -->
32

43
{% block head %}
54
{{ super() }}

0 commit comments

Comments
 (0)