为什么(正在使用的模板的)标题仍然存在,而我在 <head> 中更改了它?
Why does the title (of the template in use) remain, while I have changed it in <head>?
检查我网站的 HTML 渲染时。我发现由 <head>
中的 "Jekyll SEO tag" 呈现的元描述显示了我用来构建网站的 Jekyll 模板的旧标题(如下所示)。
<title>Airspace | Human centric marketing for p2p & social impact startups</title>
在下面的屏幕截图中,您可以看到 "Airspace" 出现。
问题 = 有时它会显示这个标题,这会让我的客户感到困惑。
这是我的回购 https://github.com/bomengeduld/zentribes.org/blob/master/_includes/head.html
的 <head>
这里一切看起来都不错:
> <meta name="description" content="As a one-stop agency, we deliver a
> full spectrum of online & offline marketing services.">
>
>
> <title>Human centric marketing for p2p & social impact
> startups</title>
>
> {% seo %}
当我使用 jekyll s
在本地呈现您的网站时,我发现您得到了两个 <title>
元素。一个来自您的 head.html
[1],第二个来自在您的 _config.yml
[2][4] 中使用 jekyll-seo-tag
插件的 title:
。标题的 Airspace
部分来自您 index.html
[3] 中的 Jekyll 前言。
我假设您想删除这两个 <title>
元素之一。
[4]https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md#usage
检查我网站的 HTML 渲染时。我发现由 <head>
中的 "Jekyll SEO tag" 呈现的元描述显示了我用来构建网站的 Jekyll 模板的旧标题(如下所示)。
<title>Airspace | Human centric marketing for p2p & social impact startups</title>
在下面的屏幕截图中,您可以看到 "Airspace" 出现。
问题 = 有时它会显示这个标题,这会让我的客户感到困惑。
这是我的回购 https://github.com/bomengeduld/zentribes.org/blob/master/_includes/head.html
的<head>
这里一切看起来都不错:
> <meta name="description" content="As a one-stop agency, we deliver a
> full spectrum of online & offline marketing services.">
>
>
> <title>Human centric marketing for p2p & social impact
> startups</title>
>
> {% seo %}
当我使用 jekyll s
在本地呈现您的网站时,我发现您得到了两个 <title>
元素。一个来自您的 head.html
[1],第二个来自在您的 _config.yml
[2][4] 中使用 jekyll-seo-tag
插件的 title:
。标题的 Airspace
部分来自您 index.html
[3] 中的 Jekyll 前言。
我假设您想删除这两个 <title>
元素之一。
[4]https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md#usage