Skip to content

Commit 1586670

Browse files
author
Ariel Jolo
committed
Adding new template for AI-FSE that only contains <head> components
1 parent 36ddf5c commit 1586670

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

themes/osi/templates/ai-fse.php

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?php
2+
/*
3+
Template Name: /ai/ template
4+
*/
5+
?>
6+
7+
<head>
8+
<meta charset="UTF-8">
9+
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
<link rel="profile" href="https://gmpg.org/xfn/11">
11+
12+
13+
<?php
14+
if ( is_user_logged_in() ) {
15+
wp_enqueue_style('admin-bar');
16+
wp_enqueue_script('admin-bar');
17+
wp_print_styles('admin-bar');
18+
}
19+
?>
20+
21+
22+
<meta name='robots' content='max-image-preview:large' />
23+
<link rel='dns-prefetch' href='//stats.wp.com' />
24+
<link rel='dns-prefetch' href='//i0.wp.com' />
25+
<link rel='dns-prefetch' href='//c0.wp.com' />
26+
<link rel="alternate" type="application/rss+xml" title="Open Source Initiative &raquo; Feed" href="https://opensource.org/feed" />
27+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
28+
<!-- favicon -->
29+
<link rel="shortcut icon" type="image/x-icon" href="https://opensourceorg.github.io/ai/assets/images/fav.png">
30+
<script defer data-domain="opensource.org" src="https://plausible.io/js/script.js"></script>
31+
<!-- fontawesome css -->
32+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
33+
<!-- fontawesome css -->
34+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/plugins/swiper.css">
35+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/plugins/unicons.css">
36+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/plugins/metismenu.css">
37+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/vendor/animate.css">
38+
<!-- bootstrap css -->
39+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/vendor/bootstrap.min.css">
40+
<!-- Custom css -->
41+
<link rel="stylesheet" href="https://opensourceorg.github.io/ai/assets/css/style.css">
42+
43+
<!-- HTML Meta Tags -->
44+
<title>The Open Source AI Definition — by The Open Source Initiative</title>
45+
<meta name="description" content="A multi-stakeholder process to define an “Open Source AI”.">
46+
47+
<!-- Facebook Meta Tags -->
48+
<meta property="og:url" content="https://opensource.org/ai">
49+
<meta property="og:type" content="website">
50+
<meta property="og:title" content="The Open Source AI Definition — by The Open Source Initiative">
51+
<meta property="og:description" content="A multi-stakeholder process to define an “Open Source AI”.">
52+
<meta property="og:image" content="https://opengraph.b-cdn.net/production/images/759f678a-a340-4fac-8bdd-39d58948634c.jpg?token=fe76lJQvzFTfnaf2xyh8RPjclyoht-lgyebYn-C4BiY&height=1158&width=1200&expires=33265055152">
53+
54+
<!-- Twitter Meta Tags -->
55+
<meta name="twitter:card" content="summary_large_image">
56+
<meta property="twitter:domain" content="opensource.org">
57+
<meta property="twitter:url" content="https://opensource.org/ai">
58+
<meta name="twitter:title" content="The Open Source AI Definition — by The Open Source Initiative">
59+
<meta name="twitter:description" content="A multi-stakeholder process to define an “Open Source AI”.">
60+
<meta name="twitter:image" content="https://opengraph.b-cdn.net/production/images/759f678a-a340-4fac-8bdd-39d58948634c.jpg?token=fe76lJQvzFTfnaf2xyh8RPjclyoht-lgyebYn-C4BiY&height=1158&width=1200&expires=33265055152">
61+
62+
</head>
63+
<?php
64+
if ( is_user_logged_in() ) {
65+
wp_admin_bar_render();
66+
}
67+
?>

0 commit comments

Comments
 (0)