-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ZhangJianyu <zhang.jianyu@outlook.com>
- Loading branch information
1 parent
8434981
commit 51f6563
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% extends '!footer.html' %} {% block extrafooter %} {{super}} | ||
<p></p><div><a href='https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html' data-cookie-notice='true'>Cookies</a> <a href='https://www.intel.com/content/www/us/en/privacy/intel-privacy-notice.html'>| Privacy</a></div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{%- extends "!layout.html" %} | ||
{% block scripts %} | ||
<script type="text/javascript"> | ||
// Configure TMS settings | ||
window.wapProfile = 'profile-microsite'; // This is mapped by WAP authorize value | ||
window.wapLocalCode = 'us-en'; // Dynamically set per localized site, see mapping table for values | ||
window.wapSection = "intel-extension-for-tensorflow"; // WAP team will give you a unique section for your site | ||
window.wapEnv = 'prod'; // environment to be use in Adobe Tags. | ||
// Load TMS | ||
(() => { | ||
let url = 'https://www.intel.com/content/dam/www/global/wap/main/wap-microsite.js'; | ||
let po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = url; | ||
let s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); | ||
}) (); | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,7 @@ | |
} | ||
|
||
html_static_path = ['_static'] | ||
templates_path = ['_templates'] | ||
|
||
def setup(app): | ||
app.add_css_file("custom.css") |