commit fd6a605849ead3178bfe952ac5472fd9cce702c8
parent e4347158756b7895d6da9f0b4f9e94b7a131446a
Author: Ryan Jeffrey <ryan@ryanmj.xyz>
Date: Fri, 19 Feb 2021 16:19:05 -0800
Fix git link
Diffstat:
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -10,6 +10,10 @@ publish: publish.el
@echo "Publishing... with current Emacs configurations."
emacs --batch --load publish.el --funcall org-publish-all
+force: publish.el
+ @echo "Publish... with configuration and force."
+ emacs --batch --load publish.el -e '(org-publish-all t)'
+
publish_no_init: publish.el
@echo "Publishing... with --no-init."
emacs --batch --no-init --load publish.el --funcall org-publish-all
diff --git a/posts/views/preamble-i.html b/posts/views/preamble-i.html
@@ -19,7 +19,7 @@
</div>
<div id="git-server">
- <a href="git.ryanmj.xyz"><img src="../res/folder-git.png" alt="git" class="taskimg"></a>
+ <a href="https://git.ryanmj.xyz"><img src="../res/folder-git.png" alt="git" class="taskimg"></a>
<h4>Git Server</h4>
</div>
diff --git a/publish.el b/publish.el
@@ -128,6 +128,12 @@ Return sitemap using TITLE and LIST returned by `create-blogmap-entry'."
"\n")
"\n#+end_archive\n"))
+(defun force-main-publish ()
+ "Force evaluation of main project."
+ (org-publish "main" t)
+ (org-publish "posts" t)
+ (org-publish-all))
+
;; Sets up exporting defaults for org mode.
;; "posts" are blog posts.
;; "main" is for index files like index.html, blog.html, etc.
diff --git a/views/preamble-i.html b/views/preamble-i.html
@@ -19,7 +19,7 @@
</div>
<div id="git-server">
- <a href="git.ryanmj.xyz"><img src="res/folder-git.png" alt="git" class="taskimg"></a>
+ <a href="https://git.ryanmj.xyz"><img src="res/folder-git.png" alt="git" class="taskimg"></a>
<h4>Git Server</h4>
</div>