{# サイト情報設定 #} {% set page_info = { "class":"top", "path":"./" } %} {% set page_css = ["/assets/css/top.css"]%} {% set page_js = ["/assets/js/top.js"]%} {# シェア情報設定 #} {% set settings %} {% include "/html/_inc/common/settings/settings.json" %} {% endset %} {% set settings = settings | json_decode %} {% set share_txt = settings.share_txt ~ " " ~ settings.og_url | url_encode %} {% set share_txt_x = settings.share_txt ~ settings.og_url ~ "%0A" ~ settings.share_txt_hash | url_encode %} {# url_encode時の"+"を"%20"にしておく #} {% set share_txt = share_txt | preg_replace('/\\+/',"%20") %} {% set share_txt_x = share_txt_x | preg_replace('/\\+/',"%20") %} {% set share_url = { "x":"https://x.com/intent/tweet?text="~share_txt_x, "line":"https://line.me/R/msg/text/?"~share_txt, "facebook":"https://www.facebook.com/share.php?u="~settings.og_url } %} {% set official_url = { "x":"https://x.com/"~settings.x } %} {# news読み込み #} {% set args = {"code": "news", "rows": 100,"style": "contentTags"} %} {% set lnews = service.call("System.BasicContents.getPublicList", args) %} {% set article_list = {} %} {% set articles = [] %} {% for news in lnews.resultset %} {% set _tmp = { "id": news.id, "title": news.title, "body":news.message1, "pubDate": news.publishedAt|date('Y.m.d'), "categories": news.ctags, } %} {% set articles = articles|merge([_tmp]) %} {% endfor %} {% set article_list = article_list|merge({"articles": articles}) %} {# DBと接続出来ないときのみ表示 #} {% if article_list.articles == null %} {% set article_list %} {% include "/html/_inc/top/data/news.json" %} {% endset %} {% set article_list = article_list | json_decode %} {% endif %} {% include "/html/_inc/common/settings/meta.html" %}
{% include "/html/_inc/top/mainvisual.html" %} {% include "/html/_inc/top/news.html" %} {% include "/html/_inc/top/introduction.html" %} {% include "/html/_inc/top/ticket.html" %}
{% include "/html/_inc/top/character.html" %}
{% include "/html/_inc/top/note.html" %}
{% include "/html/_inc/common/footer.html" %} {% include "/html/_inc/top/modal-news.html" %} {% include "/html/_inc/top/modal-ticket_electronic-ticket.html" %} {% include "/html/_inc/top/modal-ticket_caution.html" %} {% include "/html/_inc/common/gnav.html" %}
{% include "/html/_inc/common/settings/js.html" %}