<{strip}><{* メタ情報等を適切に設定する *}> <{$xoops_sitename}> <{if $xoops_dirname == ""}> - <{$xoops_slogan}> <{else}><{* module title *}> - <{include file="`$smarty.const.XOOPS_ROOT_PATH`/common/ogp/moduletitle.html"}> <{/if}> <{/strip}> <{strip}> <{include_php file="`$smarty.const.XOOPS_ROOT_PATH`/common/ogp/server_url_is.php"}> <{* メタ情報を設定ファイルの読み込み *}> <{* **** altsysでカスタムテンプレートを作って、それを読みこむ場合 **** <{include file="db:meta_info.html" assign = "metainfo" cname=$category_path|strip_tags|strip:""|replace:"メイン":""|replace:":":""|replace:" ":""}> *}> <{include file="`$smarty.const.XOOPS_ROOT_PATH`/common/ogp/meta_info.html" assign = "metainfo" cname=$category_path|strip_tags|strip:""|replace:"メイン":""|replace:":":""|replace:" ":""}> <{* メタ情報のアサイン *}> <{assign var="meta_info" value="||"|explode:$metainfo}> <{if $meta_info.0}> <{assign var="xoops_pagetitle" value=$meta_info.0}> <{/if}> <{if $meta_info.1}> <{assign var="xoops_meta_keywords" value=$meta_info.1}> <{/if}> <{if $meta_info.2}> <{assign var="xoops_meta_description" value=$meta_info.2}> <{/if}> <{/strip}> <{* ページタイトルがある場合はタイトルを付加。それ以外はスローガンを付加。 *}> <{strip}> ,<{$xoops_slogan}> <{else}><{* module title *}> ,<{include file="`$smarty.const.XOOPS_ROOT_PATH`/common/ogp/moduletitle.html"}> <{/if}> "> <{/strip}> <{* イメージは、gnaviの時は記事の画像。それ以外は指定場所のイメージ *}> <{strip}> <{include file="`$smarty.const.XOOPS_ROOT_PATH`/common/ogp/moduletitle.html"}>, <{/if}> <{$xoops_meta_keywords}>" /> <{/strip}> <{* meta copyright is not HTML5 *}> <{* メタ情報等を適切に設定する ここまで *}>