From 6093ed25880daef34771d28d5eca18883f1d75e9 Mon Sep 17 00:00:00 2001 From: Septs Date: Tue, 8 Feb 2022 08:58:39 +0800 Subject: [PATCH] fix: markdown --- .ecrc | 6 ++ archetypes/default.md | 2 +- archetypes/post.md | 4 +- archetypes/section.md | 2 +- assets/sass/abstracts/_variables.scss | 67 ++++++++++--------- content/zh-cn/converter.md | 2 +- content/zh-cn/docs/campus/list/JSU.md | 2 +- content/zh-cn/docs/friendship/index.md | 2 +- content/zh-cn/docs/hrt/jnuh1/index.md | 2 +- content/zh-cn/docs/hrt/zhou-jianying/index.md | 2 +- content/zh-cn/docs/medicine/hrt-overview.md | 2 +- content/zh-cn/docs/srs/china/sh9/index.md | 1 - .../zh-cn/docs/srs/thailand/thailand-tips.md | 3 +- .../zh-cn/docs/useful-info/abbreviation.md | 6 +- content/zh-cn/docs/useful-info/self-test.md | 2 +- content/zh-hant/docs/friendship/index.md | 2 +- content/zh-hant/docs/medicine/_index.md | 4 +- content/zh-hant/docs/useful-info/_index.md | 2 +- content/zh-hant/docs/useful-info/self-test.md | 2 +- content/zh-hant/docs/useful-info/shelters.md | 2 +- data/.gitkeep | 1 - layouts/404.html | 2 +- layouts/robots.txt | 2 +- layouts/shortcodes/csv-table.html | 2 +- layouts/shortcodes/doctor-image.html | 2 +- layouts/shortcodes/meme/baidu-hrt.html | 2 +- layouts/shortcodes/meme/hybl.html | 2 +- layouts/shortcodes/sign-off-by.html | 2 +- layouts/shortcodes/transflag.html | 14 +--- 29 files changed, 70 insertions(+), 76 deletions(-) create mode 100644 .ecrc diff --git a/.ecrc b/.ecrc new file mode 100644 index 00000000..b487a7a9 --- /dev/null +++ b/.ecrc @@ -0,0 +1,6 @@ +{ + + "Disable": { + "Indentation": true + } +} diff --git a/archetypes/default.md b/archetypes/default.md index 5d286a4e..a6b14ea1 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -6,4 +6,4 @@ draft: false weight: 0 enableToc: true tocLevels: ["h2", "h3", "h4"] ---- \ No newline at end of file +--- diff --git a/archetypes/post.md b/archetypes/post.md index 0e6b1702..e4d95d59 100644 --- a/archetypes/post.md +++ b/archetypes/post.md @@ -6,8 +6,8 @@ date: {{ .Date }} draft: false weight: 0 tags: -- +- image: "" # relative path to the static folder. The image is in the root/static/images folder. enableToc: true tocLevels: ["h2", "h3", "h4"] ---- \ No newline at end of file +--- diff --git a/archetypes/section.md b/archetypes/section.md index 9d324121..daefc50a 100644 --- a/archetypes/section.md +++ b/archetypes/section.md @@ -5,4 +5,4 @@ date: {{ .Date }} draft: false weight: 0 collapsible: true ---- \ No newline at end of file +--- diff --git a/assets/sass/abstracts/_variables.scss b/assets/sass/abstracts/_variables.scss index 601639f1..5aef0137 100644 --- a/assets/sass/abstracts/_variables.scss +++ b/assets/sass/abstracts/_variables.scss @@ -1,41 +1,42 @@ @import "../themes/theme"; -$text-font-stack: /*'Muli', - Georgia, - -apple-system, */ - 'Noto Sans', - 'Noto Sans CJK', - 'Source Han Sans' - 'PingFang SC', - 'Hiragino Sans GB', - 'Microsoft Yahei', - 'Microsoft JhengHei', - 'ST Heiti', - 'Noto Sans Thai', - sans-serif !default; -$code-font-stack: Consolas, - Monaco, - Menlo, - 'Noto Sans Mono', - "DejaVu Sans Mono", - "Bitstream Vera Sans Mono", - "Courier New", - "Lucida Console", - "Lucida Sans Typewriter", - "Liberation Mono", - "Nimbus Mono L", - Monaco, - Courier, - monospace !default; +$text-font-stack: /*'Muli', Georgia, -apple-system, */ "Noto Sans", + "Noto Sans CJK", "Source Han Sans" "PingFang SC", "Hiragino Sans GB", + "Microsoft Yahei", "Microsoft JhengHei", "ST Heiti", "Noto Sans Thai", + sans-serif !default; +$code-font-stack: Consolas, Monaco, Menlo, "Noto Sans Mono", "DejaVu Sans Mono", + "Bitstream Vera Sans Mono", "Courier New", "Lucida Console", + "Lucida Sans Typewriter", "Liberation Mono", "Nimbus Mono L", Monaco, Courier, + monospace !default; -$z-indexes: ("drawer", "modal", "dropdown", "navbar", "header", "gtt", "clipboard", "grid", "search-btn", "search", "menu", "content", "landing", "footer", "taxo", "toc", "gallery-mask", "section-title", "highlight"); +$z-indexes: ( + "drawer", + "modal", + "dropdown", + "navbar", + "header", + "gtt", + "clipboard", + "grid", + "search-btn", + "search", + "menu", + "content", + "landing", + "footer", + "taxo", + "toc", + "gallery-mask", + "section-title", + "highlight" +); $breakpoints: ( - 'xs': 0, - 'sm': 600px, - 'md': 960px, - 'lg': 1280px, - 'xl': 1960px, + "xs": 0, + "sm": 600px, + "md": 960px, + "lg": 1280px, + "xl": 1960px, ); $grid-max-width: 1289px; diff --git a/content/zh-cn/converter.md b/content/zh-cn/converter.md index 79410dc1..21553d7e 100644 --- a/content/zh-cn/converter.md +++ b/content/zh-cn/converter.md @@ -126,4 +126,4 @@ draft: false } return; } - \ No newline at end of file + diff --git a/content/zh-cn/docs/campus/list/JSU.md b/content/zh-cn/docs/campus/list/JSU.md index a06d1c21..fc2c00ec 100644 --- a/content/zh-cn/docs/campus/list/JSU.md +++ b/content/zh-cn/docs/campus/list/JSU.md @@ -32,7 +32,7 @@ title: 吉首大学 教练员均为往届学长学姐,军训时虽然表面较为严厉,但实际上人很好说话,表明身体不适可以顺利进入 ~~尖刀排~~ 伤兵营,进行学生手册专项训练(抄学生手册) **下为部分新生群内消息** 关于军训补充:不能涂防晒霜是学校武装部统一规定的,如果有什么疑问或者说像紫外线过敏之类的,可以在军训第一天和自己的教官反映,教官会在军训第一天为你们答疑解惑 - + ### 体育 学校体育课采用抢课制度,可以抢较为轻松的课,推荐**健美操,太极拳,羽毛球** 千万不要选**武术或者足球** diff --git a/content/zh-cn/docs/friendship/index.md b/content/zh-cn/docs/friendship/index.md index 024b1ca9..1fa58c53 100644 --- a/content/zh-cn/docs/friendship/index.md +++ b/content/zh-cn/docs/friendship/index.md @@ -26,7 +26,7 @@ weight: 10 - 正在建设中的 Telegram 同步机以频道形式推送内容,获取邀请链接请在任一其他平台联系我们 - Limelight 主机请前往 Limelight 搜索关键词「跨性别相关 bot」 -### awesome trans (Twitter) +### awesome trans {{< transflag >}} (Twitter) 跨性别文档整理,资讯转发。欢迎私信、邮件,或者在 Twitter 上提到我们。 diff --git a/content/zh-cn/docs/hrt/jnuh1/index.md b/content/zh-cn/docs/hrt/jnuh1/index.md index 98088545..115257c6 100644 --- a/content/zh-cn/docs/hrt/jnuh1/index.md +++ b/content/zh-cn/docs/hrt/jnuh1/index.md @@ -7,7 +7,7 @@ weight: 200 医生姓名:[高绿芬](https://h.jd120.com/Reserve/Doctor/21056) -所在医院:[暨南大学附属第一医院](https://j.map.baidu.com/28/zQu) +所在医院:[暨南大学附属第一医院](https://amap.com/place/B00140US6O) ## 出诊时刻 diff --git a/content/zh-cn/docs/hrt/zhou-jianying/index.md b/content/zh-cn/docs/hrt/zhou-jianying/index.md index c3c04de8..b2506e42 100644 --- a/content/zh-cn/docs/hrt/zhou-jianying/index.md +++ b/content/zh-cn/docs/hrt/zhou-jianying/index.md @@ -15,7 +15,7 @@ weight: 200 ## 就诊路线 -从门诊入口进入医院,然后在入口左边能看到自助服务机,取号之后乘坐扶梯上二楼(不用缴费,门诊结束后再去缴费窗口),然后左拐到头能看到有内科(专家)字样的牌子,注意看叫号。门诊号在挂号单左边中间位置 +从门诊入口进入医院,然后在入口左边能看到自助服务机,取号之后乘坐扶梯上二楼(不用缴费,门诊结束后再去缴费窗口),然后左拐到头能看到有内科(专家)字样的牌子,注意看叫号。门诊号在挂号单左边中间位置 ~~这样可以完美避免说话询问~~ diff --git a/content/zh-cn/docs/medicine/hrt-overview.md b/content/zh-cn/docs/medicine/hrt-overview.md index 89dcb0e6..07bf58eb 100644 --- a/content/zh-cn/docs/medicine/hrt-overview.md +++ b/content/zh-cn/docs/medicine/hrt-overview.md @@ -154,4 +154,4 @@ GnRH 类似物常规可应用于性早熟儿童的治疗,具有良好的可逆 必须注意的是,儿童青少年处于生长和发育阶段,在监测发育变化(如性征表现、性激素水平)的同时,必须同时定期评估其生长情况(如身高、骨量、营养状态等)。因此,建议由有经验的多学科团队(包括内分泌、儿科、精神心理专业等)共同监测和指导。 -[^1]:[跨性别激素治疗 - 百度百科](https://baike.baidu.com/item/%E8%B7%A8%E6%80%A7%E5%88%AB%E6%BF%80%E7%B4%A0%E6%B2%BB%E7%96%97/54212022) \ No newline at end of file +[^1]:[跨性别激素治疗 - 百度百科](https://baike.baidu.com/item/跨性别激素治疗) diff --git a/content/zh-cn/docs/srs/china/sh9/index.md b/content/zh-cn/docs/srs/china/sh9/index.md index 8feb8fd8..58ede3d1 100644 --- a/content/zh-cn/docs/srs/china/sh9/index.md +++ b/content/zh-cn/docs/srs/china/sh9/index.md @@ -50,4 +50,3 @@ PI 皮瓣技术,但是需要脱毛。 {{< expand "11 月 10 日手术 12 月 15 日拍摄" >}} ![srs-photo](post-1.jpg) {{< /expand >}} - \ No newline at end of file diff --git a/content/zh-cn/docs/srs/thailand/thailand-tips.md b/content/zh-cn/docs/srs/thailand/thailand-tips.md index d8d906d7..68833aa6 100644 --- a/content/zh-cn/docs/srs/thailand/thailand-tips.md +++ b/content/zh-cn/docs/srs/thailand/thailand-tips.md @@ -19,7 +19,8 @@ draft: false 显示国行 Android 手机的 Play Store [点这里](https://m.apkpure.com/google-play-store/com.android.vending/download) (需要手机本来内置谷歌服务) -[谷歌翻译](https://play.google.com/store/apps/details?id=com.google.android.apps.translate) [百度翻译](https://fanyi-app.baidu.com/transapp/appdownloadpage) +[谷歌翻译](https://play.google.com/store/apps/details?id=com.google.android.apps.translate) +[百度翻译](https://fanyi-app.baidu.com/transapp/appdownloadpage) 打车软件 [Grab](https://play.google.com/store/apps/details?id=com.grabtaxi.passenger) diff --git a/content/zh-cn/docs/useful-info/abbreviation.md b/content/zh-cn/docs/useful-info/abbreviation.md index 2dfec4df..7ea026f5 100644 --- a/content/zh-cn/docs/useful-info/abbreviation.md +++ b/content/zh-cn/docs/useful-info/abbreviation.md @@ -28,10 +28,10 @@ title: 缩写词语表 [维基百科](https://zh.wikipedia.org/zh-cn/实际生活体验) - HRT(Hormone replacement therapy)激素替代疗法 aka. GAHT(Gender-Affirming Hormone Therapy)性别肯定激素治疗 [本站板块]({{< ref "hrt-overview" >}}) - [跨性别激素治疗 - 百度百科](https://baike.baidu.com/item/%E8%B7%A8%E6%80%A7%E5%88%AB%E6%BF%80%E7%B4%A0%E6%B2%BB%E7%96%97/54212022) + [跨性别激素治疗 - 百度百科](https://baike.baidu.com/item/跨性别激素治疗) [性别肯定激素治疗 - 维基百科](https://zh.wikipedia.org/zh-cn/性别肯定激素治疗) - SRS: Sex reassignment surgery 性别重置手术 - [本站板块]({{< ref "../srs/faq" >}}) | [百度百科](https://baike.baidu.com/item/%E6%80%A7%E5%88%AB%E9%87%8D%E7%BD%AE%E6%89%8B%E6%9C%AF/1301503) | [维基百科](https://zh.wikipedia.org/zh-cn/性别重置手术) + [本站板块]({{< ref "../srs/faq" >}}) | [百度百科](https://baike.baidu.com/item/性别重置手术) | [维基百科](https://zh.wikipedia.org/zh-cn/性别重置手术) 有时也会被称之为:GRS (gender reassignment surgery) 、性别确认手术(Gender Confirmation Surgery )、性别还原手术 - SRT: Sex reassignment therapy 性别重置疗法 包含 HRT 和 SRS 等。 @@ -43,5 +43,5 @@ title: 缩写词语表 - AG: Autogynephilia 幻想变性性兴奋理论 一般认为是过时的理论。 - CD: Cross-dressing 异装 我国的法律与政策中,虽未明确提及异装的概念,但有多个条款提到不同性别应享有同等权利、禁止基于性别的歧视。包括异装在内的性别平等是全面性教育和实现社会公平的重要内容之一。 - [百度百科](https://baike.baidu.com/item/%E5%BC%82%E8%A3%85/2648254) | [维基百科](https://zh.wikipedia.org/zh-cn/异性装扮) + [百度百科](https://baike.baidu.com/item/异装) | [维基百科](https://zh.wikipedia.org/zh-cn/异性装扮) - [WPATH](https://www.wpath.org/) 世界跨性别人士健康专业协会 diff --git a/content/zh-cn/docs/useful-info/self-test.md b/content/zh-cn/docs/useful-info/self-test.md index f0c8ed40..ef9b4c27 100644 --- a/content/zh-cn/docs/useful-info/self-test.md +++ b/content/zh-cn/docs/useful-info/self-test.md @@ -14,7 +14,7 @@ weight: 0 - MMPI - 明尼苏达多项人格问卷 [MMPI 自测](http://www.apesk.com/mmpi/) - + - SCL-90 - 症状自评量表 [SCL-90 自测](http://www.ntneuro.org/scale/scl90.asp) diff --git a/content/zh-hant/docs/friendship/index.md b/content/zh-hant/docs/friendship/index.md index ad3bcd13..6967179e 100644 --- a/content/zh-hant/docs/friendship/index.md +++ b/content/zh-hant/docs/friendship/index.md @@ -8,7 +8,7 @@ weight: 10 - 逆光小鎮 聯繫 {{< shields/telegram rikablossom >}} 加入 - 跨兒音遊組 {{< shields/telegram otoge_trans >}} -### awesome trans (Twitter) +### awesome trans {{< transflag >}} (Twitter) 跨性別文檔整理,資訊轉發。歡迎私信、郵件,或者在 Twitter 上提到我們。 diff --git a/content/zh-hant/docs/medicine/_index.md b/content/zh-hant/docs/medicine/_index.md index 8f7f57e6..1a48d4d8 100644 --- a/content/zh-hant/docs/medicine/_index.md +++ b/content/zh-hant/docs/medicine/_index.md @@ -1,8 +1,8 @@ --- title: "藥物/HRT" date: 2020-11-5T21:43:21+08:00 -description: +description: draft: false weight: 1 collapsible: true ---- \ No newline at end of file +--- diff --git a/content/zh-hant/docs/useful-info/_index.md b/content/zh-hant/docs/useful-info/_index.md index 72e580e6..731af612 100644 --- a/content/zh-hant/docs/useful-info/_index.md +++ b/content/zh-hant/docs/useful-info/_index.md @@ -2,4 +2,4 @@ title: 實用資訊 weight: 9 collapsible: true ---- \ No newline at end of file +--- diff --git a/content/zh-hant/docs/useful-info/self-test.md b/content/zh-hant/docs/useful-info/self-test.md index 973b6671..bd5b6f62 100644 --- a/content/zh-hant/docs/useful-info/self-test.md +++ b/content/zh-hant/docs/useful-info/self-test.md @@ -13,7 +13,7 @@ weight: 0 - MMPI - 明尼蘇達多項人格問卷 [MMPI 自測](http://www.apesk.com/mmpi/) - + - SCL-90 - 症狀自評量表 [SCL-90 自測](http://www.ntneuro.org/scale/scl90.asp) diff --git a/content/zh-hant/docs/useful-info/shelters.md b/content/zh-hant/docs/useful-info/shelters.md index fddb8113..ab5b6927 100644 --- a/content/zh-hant/docs/useful-info/shelters.md +++ b/content/zh-hant/docs/useful-info/shelters.md @@ -1,4 +1,4 @@ --- title: 庇護所 draft: true ---- \ No newline at end of file +--- diff --git a/data/.gitkeep b/data/.gitkeep index 8d1c8b69..e69de29b 100644 --- a/data/.gitkeep +++ b/data/.gitkeep @@ -1 +0,0 @@ - diff --git a/layouts/404.html b/layouts/404.html index 60aef63f..180012fe 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -2,4 +2,4 @@
Page not found
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/robots.txt b/layouts/robots.txt index e586b6ad..7a49e882 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -5,4 +5,4 @@ Sitemap: {{ .RelPermalink }}sitemap.xml {{- end }} {{- else }} Disallow: / -{{- end }} +{{- end }} \ No newline at end of file diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html index d036d8b6..c7408e8d 100644 --- a/layouts/shortcodes/csv-table.html +++ b/layouts/shortcodes/csv-table.html @@ -12,4 +12,4 @@ {{ range . }}{{- . | markdownify -}}{{ end }} {{ end -}} - + \ No newline at end of file diff --git a/layouts/shortcodes/doctor-image.html b/layouts/shortcodes/doctor-image.html index a3e0e45f..158f0eba 100644 --- a/layouts/shortcodes/doctor-image.html +++ b/layouts/shortcodes/doctor-image.html @@ -2,4 +2,4 @@ {{- $img := .Page.Resources.GetMatch (printf "*%s*" $src) -}} {{- with $img.Fit "300x300 q95" -}} -{{- end -}} +{{- end -}} \ No newline at end of file diff --git a/layouts/shortcodes/meme/baidu-hrt.html b/layouts/shortcodes/meme/baidu-hrt.html index e257e64b..bfd18393 100644 --- a/layouts/shortcodes/meme/baidu-hrt.html +++ b/layouts/shortcodes/meme/baidu-hrt.html @@ -32,4 +32,4 @@ -

百度说要早点 HRT

+

百度说要早点 HRT

\ No newline at end of file diff --git a/layouts/shortcodes/meme/hybl.html b/layouts/shortcodes/meme/hybl.html index 8d9006c1..67dbaf7b 100644 --- a/layouts/shortcodes/meme/hybl.html +++ b/layouts/shortcodes/meme/hybl.html @@ -1 +1 @@ - 害,您瞧瞧,这儿不花园北路吗? + 害,您瞧瞧,这儿不花园北路吗? \ No newline at end of file diff --git a/layouts/shortcodes/sign-off-by.html b/layouts/shortcodes/sign-off-by.html index b6233f2c..887b6ff8 100644 --- a/layouts/shortcodes/sign-off-by.html +++ b/layouts/shortcodes/sign-off-by.html @@ -1 +1 @@ -

{{ .Get 0 }} 投稿

+

{{ .Get 0 }} 投稿

\ No newline at end of file diff --git a/layouts/shortcodes/transflag.html b/layouts/shortcodes/transflag.html index adf421f1..ceedf1cf 100644 --- a/layouts/shortcodes/transflag.html +++ b/layouts/shortcodes/transflag.html @@ -1,13 +1 @@ - + \ No newline at end of file