├── .editorconfig ├── .github └── workflows │ └── deploy.yml ├── .gitignore ├── .gitmodules ├── README.md ├── archetypes └── default.md ├── config.toml ├── content ├── about.md └── posts │ ├── 2021 │ ├── post-KKZ20.md │ ├── post-Maoyao233.md │ ├── post-Vaceee.md │ ├── post-juxuan27.md │ └── post-skyleaworlder.md │ ├── 2022 │ └── post-zqj2333.md │ └── test.md ├── static └── favicon.ico └── themes └── hugo-ink ├── .gitignore ├── LICENSE.md ├── README.md ├── archetypes └── default.md ├── exampleSite ├── archetypes │ └── default.md ├── config.toml ├── content │ ├── about.md │ └── posts │ │ ├── post-1.md │ │ ├── post-2.md │ │ ├── post-3.md │ │ ├── post-4.md │ │ ├── post-5.md │ │ ├── post-6.md │ │ ├── post-7.md │ │ └── post-8.md └── data │ └── month.yaml ├── images ├── screenshot.png └── tn.png ├── layouts ├── 404.html ├── _default │ ├── list.html │ ├── single.html │ ├── term.html │ └── terms.html ├── index.html └── partials │ ├── comments.html │ ├── disqus.html │ ├── footer.html │ ├── head.html │ ├── header.html │ ├── paginator.html │ └── post-preview.html ├── netlify.toml ├── static ├── css │ ├── dark.css │ ├── main.css │ └── normalize.css └── js │ ├── feather.min.js │ └── main.js └── theme.toml /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.toml] 2 | indent_size = 2 3 | tab_width = 2 -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: Deploy 4 | 5 | # Controls when the workflow will run 6 | on: [ push, pull_request ] 7 | 8 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 9 | jobs: 10 | # This workflow contains a single job called "build" 11 | build: 12 | # The type of runner that the job will run on 13 | runs-on: ubuntu-latest 14 | 15 | # Steps represent a sequence of tasks that will be executed as part of the job 16 | steps: 17 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 18 | - uses: actions/checkout@v2 19 | with: 20 | submodules: true # Fetch Hugo themes (true OR recursive) 21 | fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod 22 | 23 | # Runs a single command using the runners shell 24 | - name: Run a one-line script 25 | run: echo Hello, world! 26 | 27 | # Runs a set of commands using the runners shell 28 | - name: Setup Hugo 29 | uses: peaceiris/actions-hugo@v2 30 | with: 31 | hugo-version: 'latest' 32 | 33 | - name: Build 34 | run: hugo --minify 35 | 36 | - name: Deploy 37 | uses: peaceiris/actions-gh-pages@v3 38 | with: 39 | github_token: ${{ secrets.GITHUB_TOKEN }} 40 | publish_dir: ./public 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | public/ -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".\\themes\\hugo-ink\\"] 2 | path = .\\themes\\hugo-ink\\ 3 | url = https://github.com/knadh/hugo-ink 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TJCS-F2F 2 | 👊 今年下半年,F2F 即将正式开机,我继续扮演小迷弟,我会用小迷弟艺术形象努力创造一个正能量的形象,文体两开花。 3 | -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- 1 | # common config 2 | baseURL = 'https://tj-csccg.github.io/TJCS-F2F/' 3 | copyright = 'TJ-CSCCG / Tongji Univ. CS(&IS) Curriculum Cooperation Group' 4 | languageCode = 'zh-cn' 5 | theme = 'hugo-ink' 6 | title = 'TJCS-F2F' 7 | 8 | pygmentsstyle = "vs" 9 | pygmentscodefences = true 10 | pygmentscodefencesguesssyntax = true 11 | 12 | [params] 13 | avatar = 'https://avatars.githubusercontent.com/u/67193306' 14 | subtitle = 'Face to Face, Tongji University Computer Science(&Information Security)' 15 | enableGitalk = true 16 | busuanzi = true 17 | 18 | [[params.social]] 19 | icon = 'github' 20 | name = 'Github' 21 | url = 'https://github.com/tj-csccg/TJCS-F2F' 22 | 23 | [markup] 24 | defaultMarkdownHandler = "goldmark" 25 | [markup.goldmark] 26 | [markup.goldmark.renderer] 27 | unsafe = true 28 | 29 | # Nav. 30 | [[menu.main]] 31 | name = "Home" 32 | url = "/" 33 | weight = 1 34 | [[menu.main]] 35 | name = "All posts" 36 | url = "/posts" 37 | weight = 2 38 | [[menu.main]] 39 | name = "About" 40 | url = "/about" 41 | weight = 3 42 | [[menu.main]] 43 | name = "Tags" 44 | url = "/tags" 45 | weight = 4 -------------------------------------------------------------------------------- /content/about.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "TJCS-F2F 直面那些伟大而平凡之人" 3 | date: 2021-10-01T00:09:01+08:00 4 | type: "page" 5 | --- 6 | 7 |
Test
75 | 76 | 77 | ``` 78 | #### Code block indented with four spaces 79 | 80 | 81 | 82 | 83 | 84 |Test
88 | 89 | 90 | 91 | #### Code block with Hugo's internal highlight shortcode 92 | {{< highlight html >}} 93 | 94 | 95 | 96 | 97 |Test
101 | 102 | 103 | {{< /highlight >}} 104 | 105 | ## List Types 106 | 107 | #### Ordered List 108 | 109 | 1. First item 110 | 2. Second item 111 | 3. Third item 112 | 113 | #### Unordered List 114 | 115 | * List item 116 | * Another item 117 | * And another item 118 | 119 | #### Nested list 120 | 121 | * Item 122 | 1. First Sub-item 123 | 2. Second Sub-item 124 | 125 | ## Other Elements — abbr, sub, sup, kbd, mark 126 | 127 | GIF is a bitmap image format. 128 | 129 | H2O 130 | 131 | Xn + Yn = Zn 132 | 133 | Press CTRL+ALT+Delete to end the session. 134 | 135 | Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. 136 | 137 | 138 | -------------------------------------------------------------------------------- /themes/hugo-ink/exampleSite/data/month.yaml: -------------------------------------------------------------------------------- 1 | 1: "Jan" 2 | 2: "Feb" 3 | 3: "Mar" 4 | 4: "Apr" 5 | 5: "May" 6 | 6: "Jun" 7 | 7: "Jul" 8 | 8: "Aug" 9 | 9: "Sep" 10 | 10: "Oct" 11 | 11: "Nov" 12 | 12: "Dec" 13 | -------------------------------------------------------------------------------- /themes/hugo-ink/images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TJ-CSCCG/TJCS-F2F/89c642414c677b5be888eb568ce64c50a74ba4e9/themes/hugo-ink/images/screenshot.png -------------------------------------------------------------------------------- /themes/hugo-ink/images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TJ-CSCCG/TJCS-F2F/89c642414c677b5be888eb568ce64c50a74ba4e9/themes/hugo-ink/images/tn.png -------------------------------------------------------------------------------- /themes/hugo-ink/layouts/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TJ-CSCCG/TJCS-F2F/89c642414c677b5be888eb568ce64c50a74ba4e9/themes/hugo-ink/layouts/404.html -------------------------------------------------------------------------------- /themes/hugo-ink/layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ partial "header.html" . }} 4 | 5 | 6 |{{ .Site.Params.Subtitle | markdownify }}
13 | {{- end -}} 14 | 24 |