<!DOCTYPE html>{% block html_start %}<html lang="zh-Hant">{% endblock html_start %}<head><meta name="Description" content="{{ 'desc' | trans }}"><!-- start: Meta --><meta charset="utf-8"><title>{{ 'title' | trans }}</title><!--http://www.html5rocks.com/en/mobile/mobifying/--><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"><!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html--><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="format-detection" content="telephone=no"><!-- force webkit on 360 --><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><!-- force edge on IE --><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="msapplication-tap-highlight" content="no"><!-- force full screen on some browser --><meta name="full-screen" content="yes"/><meta name="x5-fullscreen" content="true"/><meta name="360-fullscreen" content="true"/><!-- force screen orientation on some browser --><meta name="screen-orientation" content="portrait"/><meta name="x5-orientation" content="portrait"><!--fix fireball/issues/3568 --><!--<meta name="browsermode" content="application">--><meta name="x5-page-mode" content="app"><!-- end: Meta --><!-- start: Mobile Specific --><meta name="viewport" content="width=device-width, initial-scale=1"><!-- end: Mobile Specific --><!-- start: CSS --><link rel="stylesheet" href="{{ asset('css/style.css') }}"/><link rel="stylesheet" href="{{ asset('css/style-mobile.css') }}"/>{{ encore_entry_script_tags('frontend') }}<script type="text/javascript" src="{{ asset('js/jquery.min.js') }}"></script><script type="text/javascript" src="{{ asset('js/bootstrap/bootstrap.min.js') }}"></script>{{ encore_entry_link_tags('frontend') }}<link rel="icon" href="{{ asset('icon.png') }}"/><!-- end: CSS -->{% block css %}<!-- custom css here -->{% endblock %}{% block gtag %}<!-- Global Site Tag (gtag.js) - Google Analytics --><script async src="https://www.googletagmanager.com/gtag/js?id=G-8DSFG2GSB2"></script><script>window.dataLayer = window.dataLayer || [];function gtag() {dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-8DSFG2GSB2');</script><script>var _hmt = _hmt || [];(function() {let hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?652e1188255133c513754f682c7dcf3d";let s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();</script>{% endblock %}{% block customGA %}<script>function gtag_action_language(result){gtag('event', 'change language', {'event_category': '{{ custom_data }}','event_label': result});}</script>{% endblock %}{% block custom %}<meta property="og:type" content="website"/><meta property="og:image" content="{{ hostname }}/main.png"/><meta property="og:description" content="{{ 'desc' | trans }}"><meta property="og:title" content="{{ 'title' | trans }}"><meta property="og:site_name" content="{{ 'title' | trans }}">{% endblock %}{% block javascript %}{% endblock %}</head><body><script>window.onload=function () {document.addEventListener('touchstart',function (event) {if(event.touches.length>1){event.preventDefault();}});let lastTouchEnd=0;document.addEventListener('touchend',function (event) {let now=(new Date()).getTime();if(now-lastTouchEnd<=300){event.preventDefault();}lastTouchEnd=now;},false);document.addEventListener('gesturestart', function (event) {event.preventDefault();});}</script>{% block wechat_config %}{% set wx_config = wechatConfig(app.request) %}{#{{ wx_config | keys | join(', ')}}#}{% if wx_config['isWeChat'] is defined and wx_config['isWeChat'] == 1 %}<script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script><script>let shareLink = !window.location.origin ? window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port : '') : window.location.origin;wx.config({debug: false,appId: '{{ wx_config['appId'] }}',timestamp: {{ wx_config['timestamp'] }},nonceStr: '{{ wx_config['noncestr'] }}',signature: '{{ wx_config['signature'] }}',jsApiList: ["hideMenuItems","onMenuShareAppMessage","onMenuShareTimeline",]});wx.ready(function () {wx.hideMenuItems({menuList: ["menuItem:share:facebook", "menuItem:share:qq", "menuItem:share:QZone","menuItem:share:weiboApp", "menuItem:originPage", "menuItem:openWithSafari","menuItem:share:email", "menuItem:copyUrl", "menuItem:readMode", "menuItem:delete", "menuItem:editTag"]});wx.onMenuShareAppMessage({title: '{{ "title" | trans }}',desc: '{{ "desc" | trans }}',link: '{{ wechat_share_href|raw }}',imgUrl: shareLink + '/icon1.png',type: '',dataUrl: '',success: function () {}});wx.onMenuShareTimeline({title: '{{ "title" | trans }}',link: '{{ wechat_share_href|raw }}',imgUrl: shareLink + '/icon1.png',success: function () {console.log("share to moment");}});});</script>{% endif %}{% endblock %}{% block header %}{% endblock %}{% block body %}{% endblock %}</body></html>