mirror of
https://github.com/conanhujinming/comments-for-awesome-courses.git
synced 2026-02-02 18:18:52 +08:00
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
# This is a basic workflow to help you get started with Actions
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,18 @@
|
|||||||
site_name: 名校公开课程评价网
|
site_name: 名校公开课程评价网
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
|
custom_dir: overrides
|
||||||
|
|
||||||
repo_url: https://github.com/conanhujinming/comments-for-awesome-courses/
|
repo_url: https://github.com/conanhujinming/comments-for-awesome-courses/
|
||||||
|
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- def_list
|
- def_list
|
||||||
- pymdownx.tasklist:
|
- pymdownx.tasklist:
|
||||||
custom_checkbox: true
|
custom_checkbox: true
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- search:
|
- search:
|
||||||
lang:
|
lang:
|
||||||
- en
|
- en
|
||||||
- ja
|
- ja
|
||||||
17
overrides/main.html
Normal file
17
overrides/main.html
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block disqus %}
|
||||||
|
<script src="https://giscus.app/client.js"
|
||||||
|
data-repo="beiyuouo/comments-for-awesome-courses"
|
||||||
|
data-repo-id="R_kgDOGR8dHA"
|
||||||
|
data-category="General"
|
||||||
|
data-category-id="DIC_kwDOGR8dHM4B_lvU"
|
||||||
|
data-mapping="pathname"
|
||||||
|
data-reactions-enabled="1"
|
||||||
|
data-emit-metadata="0"
|
||||||
|
data-theme="light"
|
||||||
|
data-lang="en"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
import os
|
import os
|
||||||
from urllib.parse import quote
|
from urllib.parse import quote
|
||||||
|
|
||||||
EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site']
|
EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site', 'overrides', '.github']
|
||||||
README_MD = ['README.md', 'readme.md', 'index.md']
|
README_MD = ['README.md', 'readme.md', 'index.md']
|
||||||
|
|
||||||
TXT_EXTS = ['md', 'txt']
|
TXT_EXTS = ['md', 'txt']
|
||||||
|
|||||||
Reference in New Issue
Block a user