Last active
May 14, 2017 19:51
-
-
Save janus57/4c464902ec84dff2c497b289ae651dfe to your computer and use it in GitHub Desktop.
OpenGraph optimization
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="{L_XML_LANGUAGE}"> | |
<head> | |
<title>{TITLE}</title> | |
<meta charset="windows-1252" /> | |
<meta property="og:title" content="{TITLE}" /> | |
<meta property="og:type" content="website" /> | |
# IF C_CANONICAL_URL #<meta property="og:url" content="{U_CANONICAL}" /># ENDIF # | |
# IF U_PICTURE #<meta property="og:image" content="{U_PICTURE}" /># ENDIF # | |
# IF C_DESCRIPTION #<meta name="description" content="{SITE_DESCRIPTION}" /># ENDIF # | |
<meta name="generator" content="PHPBoost" /> | |
# IF C_CANONICAL_URL #<link rel="canonical" href="{U_CANONICAL}" /># ENDIF # | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
<!-- Theme CSS --> | |
# IF C_CSS_CACHE_ENABLED # | |
<link rel="stylesheet" href="${CSSCacheManager::get_css_path('/templates/default/theme/default.css;/kernel/lib/css/font-awesome/css/font-awesome.css;/templates/{THEME}/theme/design.css;/templates/{THEME}/theme/global.css;/templates/{THEME}/theme/content.css;/templates/{THEME}/theme/cssmenu.css;/templates/{THEME}/theme/font-awesome-animation.css')}" type="text/css" media="screen, print" /> | |
# ELSE # | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/default/theme/default.css" type="text/css" media="screen, print" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/kernel/lib/css/font-awesome/css/font-awesome.css" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/{THEME}/theme/design.css" type="text/css" media="screen" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/{THEME}/theme/global.css" type="text/css" media="screen, print" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/{THEME}/theme/content.css" type="text/css" media="screen, print" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/{THEME}/theme/cssmenu.css" type="text/css" media="screen" /> | |
<link rel="stylesheet" href="{PATH_TO_ROOT}/templates/{THEME}/theme/font-awesome-animation.css" type="text/css" media="screen" /> | |
# ENDIF # | |
<!-- Modules CSS --> | |
{MODULES_CSS} | |
# IF C_FAVICON # | |
<link rel="shortcut icon" href="{FAVICON}" type="{FAVICON_TYPE}" /> | |
# ENDIF # | |
# INCLUDE JS_TOP # | |
</head> | |
<body itemscope="itemscope" itemtype="http://schema.org/WebPage"> | |
# INCLUDE BODY # | |
# INCLUDE JS_BOTTOM # | |
<script src="{PATH_TO_ROOT}/templates/{THEME}/js/jquery.slides.min.js"></script> | |
<script> | |
$(function() { | |
$('#slide-content').slidesjs({ | |
width: 1004, | |
height: 228, | |
play: { | |
active: true, | |
auto: true, | |
interval: 5000, | |
swap: true, | |
effect: "fade", | |
}, | |
navigation: { active: false, effect: "fade" }, | |
pagination: { active: false, effect: "fade" }, | |
effect: { fade: { speed: 400 } } | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment