From 4f7980c62043fb964d8c3be5cd90cf3d549db225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 16 Jul 2018 01:26:21 +0200 Subject: [PATCH] changes for using fontawesome5 in hugo export --- doc/content/post/hugo_export.md | 3 ++- ox-hugocv.el | 14 +++++++------- readme.org | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/content/post/hugo_export.md b/doc/content/post/hugo_export.md index 7a7bbe9..e366f5b 100644 --- a/doc/content/post/hugo_export.md +++ b/doc/content/post/hugo_export.md @@ -16,4 +16,5 @@ exclude some tags during export. (org-export-to-file 'hugocv "hugocv.md")) ``` -You are responsible for styling your website. +You are responsible for styling your website. Icons used here use +FontAwesome 5. diff --git a/ox-hugocv.el b/ox-hugocv.el index 073c2b5..b36060d 100644 --- a/ox-hugocv.el +++ b/ox-hugocv.el @@ -78,9 +78,9 @@ as a communication channel." (format "\n

%s

@@ -117,10 +117,10 @@ holding export options." ;; email (let ((email (and (plist-get info :with-email) (org-export-data (plist-get info :email) info)))) - (when email (format "
  • %s
  • \n" email email))) + (when email (format "
  • %s
    \n" email email))) ;; homepage (let ((homepage (org-export-data (plist-get info :homepage) info))) - (when homepage (format "
  • %s
  • \n" homepage homepage))) + (when homepage (format "
  • %s
    \n" homepage homepage))) ;; social media (mapconcat (lambda (social-network) @@ -129,10 +129,10 @@ holding export options." info))) - (and command (format "
  • %s
  • \n" - (nth 1 social-network) + (and command (format "
  • %s
    \n" (nth 2 social-network) command + (nth 1 social-network) command)))) '((:github "github" "www.github.com") diff --git a/readme.org b/readme.org index 05ac1ef..4a2c794 100644 --- a/readme.org +++ b/readme.org @@ -228,7 +228,8 @@ exclude some tags during export. (org-export-to-file 'hugocv "hugocv.md")) #+END_SRC -You are responsible for styling your website. +You are responsible for styling your website. Icons used here use +FontAwesome 5. * Local Variables :ARCHIVE: