如果不是盲审的话,可以使用实验室模板;
如果盲审的话,需要完全匿名;
1. 新建GitHub账号,可以专门一个账号每次用来作为盲审的demo展示账号;
2. 新建一个Repository;
3. Settings --> Pages, 选择一个自带的主题
4. 返回 Code,修改_config.yml 添加 title, description等信息;
5. 修改index.md文件;
6. 添加文件夹,上传需要展示的文件;
注意:
1. 可以通过 Actions中的 run 进行编译和刷新;
2. yml文件对冒号非常敏感,如果title中有冒号,则会编译无法通过,可以用引号把整个title引起来;
3. 如果出现标题被覆盖的情况,可以尝试在 Code中添加一个 _layouts/default.html
4. html不支持latex公式,如果想输入特殊字符,比如希腊字母,可以通过 “&str;”的形式。参考:https://www.jb51.net/web/799535.html
5. 输入上标和下标,可以通过 的方式,参考: https://www.gxlsystem.com/qianduan-16225.html
6. 如果发现 表格是乱码,可以尝试在表格前面加一个空行;
附录:
_layouts/default.html
- html>
- <html lang="{{ site.lang | default: "en-US" }}">
- <head>
- <meta charset="UTF-8">
-
- {% seo %}
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="theme-color" content="#157878">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
- {% include head-custom.html %}
- head>
- <body>
- <a id="skip-to-content" href="#content">Skip to the content.a>
-
- <header class="page-header" role="banner">
- <h1 class="project-name">{{ site.title | default: site.github.repository_name }}h1>
- <h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}h2>
- {% if site.github.is_project_page %}
- <a href="{{ site.github.repository_url }}" class="btn">View on GitHuba>
- {% endif %}
- {% if site.show_downloads %}
- <a href="{{ site.github.zip_url }}" class="btn">Download .zipa>
- <a href="{{ site.github.tar_url }}" class="btn">Download .tar.gza>
- {% endif %}
- header>
-
- <main id="content" class="main-content" role="main">
- {{ content }}
-
- <footer class="site-footer">
- {% if site.github.is_project_page %}
- <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}a>.span>
- {% endif %}
- <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pagesa>.span>
- footer>
- main>
- body>
- html>