如何在 expressionengine 中更改主页的元标记标题?
How to change the meta tag title of the homepage in expressionengine?
我正在尝试更改主页的标签标题,但我无法在 cms 中找到主页。我无法编辑布局页面,因为它会在下面的代码中动态生成标签标题。有谁知道如何在cms中定位主页?
{!--choozle tag--}
<script type="text/javascript" src="//nexus.ensighten.com/choozle/200/Bootstrap.js"></script>
{!--end choozle--}
{if layout:meta_title}
<title>{layout:meta_title} | {site_name} </title>
<meta name='description' content='{layout:meta_description}' />
<meta property="og:description" content=" {layout:meta_description}" />
<meta property="og:title" content=">{layout:meta_title}" />
{if:else}
{exp:seo_lite use_last_segment="yes"}
{/if}
{if layout:og-image}
<meta property="og:image:url" content="{layout:og-image}" >
{if:else}
<meta property="og:image:url" content="{lv-og-url}/images/og-logo.png" >
{/if}
此模板使用布局,因此在调用布局模板的模板中,您必须将其设置为{布局:meta_title}。
在此处阅读有关布局模板的更多信息:https://docs.expressionengine.com/latest/templates/layouts.html
我正在尝试更改主页的标签标题,但我无法在 cms 中找到主页。我无法编辑布局页面,因为它会在下面的代码中动态生成标签标题。有谁知道如何在cms中定位主页?
{!--choozle tag--}
<script type="text/javascript" src="//nexus.ensighten.com/choozle/200/Bootstrap.js"></script>
{!--end choozle--}
{if layout:meta_title}
<title>{layout:meta_title} | {site_name} </title>
<meta name='description' content='{layout:meta_description}' />
<meta property="og:description" content=" {layout:meta_description}" />
<meta property="og:title" content=">{layout:meta_title}" />
{if:else}
{exp:seo_lite use_last_segment="yes"}
{/if}
{if layout:og-image}
<meta property="og:image:url" content="{layout:og-image}" >
{if:else}
<meta property="og:image:url" content="{lv-og-url}/images/og-logo.png" >
{/if}
此模板使用布局,因此在调用布局模板的模板中,您必须将其设置为{布局:meta_title}。
在此处阅读有关布局模板的更多信息:https://docs.expressionengine.com/latest/templates/layouts.html