浏览代码

allow nosup links to be black

master
Sean Dockray 3 年前
父节点
当前提交
b03fd8379b
共有 5 个文件被更改,包括 8 次插入4 次删除
  1. +1
    -1
      content/curriculum/index.md
  2. +1
    -1
      data/books/catalog.json
  3. +4
    -0
      themes/sandpoints/assets/css/site.css
  4. +1
    -1
      themes/sandpoints/assets/css/site.min.css
  5. +1
    -1
      themes/sandpoints/layouts/shortcodes/nosup.html

+ 1
- 1
content/curriculum/index.md
文件差异内容过多而无法显示
查看文件


+ 1
- 1
data/books/catalog.json
文件差异内容过多而无法显示
查看文件


+ 4
- 0
themes/sandpoints/assets/css/site.css 查看文件

@@ -607,6 +607,10 @@ img {
color: red;
}

.nosup.black a {
color: #000;
}

.nosup a span.sup {
display: none;
}


+ 1
- 1
themes/sandpoints/assets/css/site.min.css
文件差异内容过多而无法显示
查看文件


+ 1
- 1
themes/sandpoints/layouts/shortcodes/nosup.html 查看文件

@@ -1 +1 @@
<span class="nosup">{{ with .Inner }} {{ $.Page.RenderString . }} {{ end }}</span>
<span class="nosup{{ with .Get 0}} {{.}}{{ end }}">{{ with .Inner }} {{ $.Page.RenderString . }} {{ end }}</span>

正在加载...
取消
保存