From 6a74794ae18201df18dbe7589b28d9ab5b5629ea Mon Sep 17 00:00:00 2001 From: dongdigua Date: Sat, 10 Sep 2022 22:00:14 +0800 Subject: [PATCH] modified css, removed useless headings, HOME link --- css/main.css | 6 +++--- org/about_showing_ip.org | 1 - org/cheatsheet.org | 12 +++++------- org/internet_collections.org | 2 -- org/publish_config.el | 17 +++++++++++++++-- org/recommend_everforest_theme.org | 1 - org/wayland.org | 2 +- org/weird_mglndd.org | 2 +- 8 files changed, 25 insertions(+), 18 deletions(-) diff --git a/css/main.css b/css/main.css index aa713ec..fd068be 100644 --- a/css/main.css +++ b/css/main.css @@ -120,16 +120,16 @@ a { text-decoration: none; - color: #3399cc; + color: #39c5bb; } /* a:visited {text-decoration: none; color: #224444} */ /* Taken out because color too similar to text. */ a:visited { text-decoration: none; - color: #3399cc; + color: #39c5bb; } /* this is now the color of the Unicorns horn */ a:hover { text-decoration: underline; - color: #3399cc; + color: #39c5bb; } ul, ol { diff --git a/org/about_showing_ip.org b/org/about_showing_ip.org index 046473d..455a027 100644 --- a/org/about_showing_ip.org +++ b/org/about_showing_ip.org @@ -1,6 +1,5 @@ #+TITLE: 这一天终于来了, B站显示 IP 属地 #+STARTUP: indent -#+OPTIONS: \n:t 卸载吧... * 我的看法 diff --git a/org/cheatsheet.org b/org/cheatsheet.org index 9e1722a..509e1ee 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -1,4 +1,3 @@ -#+STARTUP: indent #+TITLE: Editor Cheatsheet @@ -46,12 +45,11 @@ * EMACS ** org-mode -| key | usage | -|--------------+----------------------------| -| C-c \vbar | 创建表格 | -| C-c C-e | 导出 HTML | -| M-left/right | 升级(promote)/降级(demote) | -| C-c C-x C-v | toggle render images | +| key | usage | +|-------------+----------------------| +| C-c \vbar | 创建表格 | +| C-c C-e | 导出 HTML | +| C-c C-x C-v | toggle render images | ** normal | key | usage | diff --git a/org/internet_collections.org b/org/internet_collections.org index f1a8509..00556d8 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -1,8 +1,6 @@ -#+STARTUP: indent #+TAGS: elixir(e) rust(r) c(c) lisp(l) #+TAGS: lowlevel(w) frontend(f) backend(b) emacs(m) hack(h) algorithm(a) linux(x) #+TAGS: rssable(s) rssub(u) -#+OPTIONS: \n:t #+OPTIONS: toc:nil #+OPTIONS: ^:{} diff --git a/org/publish_config.el b/org/publish_config.el index 8f0ebc4..9e35f9d 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -15,13 +15,26 @@ :recursive t :exclude "画大饼.org" :publishing-function org-html-publish-to-html + :preserve-breaks t ;; https://github.com/rgb-24bit/org-html-theme-list org-joshua - :html-head "" ; instead of :style + :html-head "" + :html-link-home "https://dongdigua.github.io" + :html-link-up "https://dongdigua.github.io" ))) (defun myweb-publish () "Publish myweb." (interactive) (setq debug-on-error t) - (org-publish-all)) + (org-publish-all) + + (webfeeder-build + "rss.xml" + "./../org_html" + "https://dongdigua.github.io" + (delete "rss.html" (directory-files "./../org_html" nil ".*\.html$")) + :title "dongdigua's blog" + :description "Blog!" + :builder 'webfeeder-make-rss) + ) diff --git a/org/recommend_everforest_theme.org b/org/recommend_everforest_theme.org index 61d1763..8fe5df9 100644 --- a/org/recommend_everforest_theme.org +++ b/org/recommend_everforest_theme.org @@ -1,5 +1,4 @@ #+TITLE: Recommend EverForest Theme -#+OPTIONS: \n:t #+OPTIONS: toc:nil 强烈推荐 everforest 这个主题 diff --git a/org/wayland.org b/org/wayland.org index 06885ae..dc7180e 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -1,5 +1,5 @@ #+TITLE: Something About Wayland(swaywm) -#+OPTIONS: toc:nil \n:t +#+OPTIONS: toc:nil * Solution ** gnome-screenshot diff --git a/org/weird_mglndd.org b/org/weird_mglndd.org index a7a1446..eaadede 100644 --- a/org/weird_mglndd.org +++ b/org/weird_mglndd.org @@ -1,5 +1,5 @@ #+TITLE: Something About MGLNDD Scans -#+OPTIONS: toc:nil \n:t +#+OPTIONS: toc:nil * [[https://stretchoid.com/][stretchoid opt-out]] this domain's workers are comstantly scanning the WHOLE internet