浏览代码

add absolute url to css

tags/v1.1
Bud Parr 7 年前
父节点
当前提交
1d810d7237
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      layouts/_default/baseof.html

+ 2
- 2
layouts/_default/baseof.html 查看文件

@@ -17,7 +17,7 @@
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
{{ end }}

<link href='/dist/main.css' rel='stylesheet' type="text/css" />
<link href='{{ "/dist/main.css" | absURL }}' rel='stylesheet' type="text/css" />

{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
{{- template "_internal/opengraph.html" . -}}
@@ -29,7 +29,7 @@
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
</head>
<body class="ma0 sans-serifTK avenir bg-near-white">
<body class="ma0 avenir bg-near-white">
{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
<main class="pb7" role="main">
{{ block "main" . }}{{ end }}

正在加载...
取消
保存