diff --git a/Makefile b/Makefile index 759dcc9..ce16367 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ STATUS_PREFIX := "\033[1;32m[+]\033[0m " .PHONY: clean shell -all: setup $(HTML_FILES) minify +all: setup $(HTML_FILES) minify copy shell: $(DOCKER_RUN) -i --entrypoint=/bin/zsh $(DOCKER_IMG) @@ -41,6 +41,10 @@ minify: @$(MINIFY) --bundle org-theme/dist/long/bundle.js -o $(STATIC_FILES_FOLDER)/long.js @$(MINIFY) --bundle org-theme/dist/long/bundle.js -o $(STATIC_FILES_FOLDER)/short.js +copy: + @printf $(STATUS_PREFIX); echo "COPYING IMAGE FILES" + @cp images/logo.png $(STATIC_FILES_FOLDER)/logo.png + server: python3 -m http.server 8000 --directory $(STATIC_FILES_FOLDER) diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..2912dd5 Binary files /dev/null and b/images/logo.png differ diff --git a/org-theme/dist/long/bundle.css b/org-theme/dist/long/bundle.css index 5dd7b67..3df8a22 100644 --- a/org-theme/dist/long/bundle.css +++ b/org-theme/dist/long/bundle.css @@ -445,12 +445,8 @@ code::after { } .collection-avatar { width: 35px; - height: 35px; overflow: hidden; white-space: nowrap; - background-color: var(--color-lighter-gray); - border-radius: 35px; - border: 1px solid var(--color-light-gray); display: inline-block; vertical-align: middle; margin-right: 0.5rem; diff --git a/org-theme/dist/long/bundle.js b/org-theme/dist/long/bundle.js index e88ff62..cbf7a38 100644 --- a/org-theme/dist/long/bundle.js +++ b/org-theme/dist/long/bundle.js @@ -155,4 +155,4 @@ // Hold bootstrap until document body is parsed exports.onload = bootstrap; -})(window,{"table-of-contents":true,"section-numbers":true,"postamble":true,"fancy-lists":true,"fancy-icons":true,"back-to-top":true,"back-to-top-text":"Back to top","collection":{"enabled":true,"avatar":"http://www.lisperati.com/lisplogo_flag_64.png","title":"Common Lisp Brasil","url":"/"}}); +})(window,{"table-of-contents":true,"section-numbers":true,"postamble":true,"fancy-lists":true,"fancy-icons":true,"back-to-top":true,"back-to-top-text":"Back to top","collection":{"enabled":true,"avatar":"logo.png","title":"Common Lisp Brasil","url":"/"}}); diff --git a/org-theme/dist/short/bundle.css b/org-theme/dist/short/bundle.css index aec4e02..ba3f81a 100644 --- a/org-theme/dist/short/bundle.css +++ b/org-theme/dist/short/bundle.css @@ -445,12 +445,8 @@ code::after { } .collection-avatar { width: 35px; - height: 35px; overflow: hidden; white-space: nowrap; - background-color: var(--color-lighter-gray); - border-radius: 35px; - border: 1px solid var(--color-light-gray); display: inline-block; vertical-align: middle; margin-right: 0.5rem; diff --git a/org-theme/dist/short/bundle.js b/org-theme/dist/short/bundle.js index 7c96547..808d40f 100644 --- a/org-theme/dist/short/bundle.js +++ b/org-theme/dist/short/bundle.js @@ -155,4 +155,4 @@ // Hold bootstrap until document body is parsed exports.onload = bootstrap; -})(window,{"table-of-contents":false,"section-numbers":false,"postamble":true,"fancy-lists":true,"fancy-icons":true,"back-to-top":true,"back-to-top-text":"Back to top","collection":{"enabled":true,"avatar":"http://www.lisperati.com/lisplogo_flag_64.png","title":"Common Lisp Brasil","url":"/"}}); +})(window,{"table-of-contents":false,"section-numbers":false,"postamble":true,"fancy-lists":true,"fancy-icons":true,"back-to-top":true,"back-to-top-text":"Back to top","collection":{"enabled":true,"avatar":"logo.png","title":"Common Lisp Brasil","url":"/"}}); diff --git a/org-theme/setup/long.setup b/org-theme/setup/long.setup index dcacc8f..970ab70 100644 --- a/org-theme/setup/long.setup +++ b/org-theme/setup/long.setup @@ -11,7 +11,7 @@ # "back-to-top": true, # "collection": { # "enabled": true, -# "avatar": "http://www.lisperati.com/lisplogo_flag_64.png", +# "avatar": "logo.png", # "title": "Common Lisp Brasil", # "url": "/" # } @@ -20,5 +20,7 @@ # I recommend you to generate your own css/js files by forking, cloning and customizing the file # theme.json before building it. # +#+HTML_HEAD: +#+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: diff --git a/org-theme/setup/short.setup b/org-theme/setup/short.setup index bbd620a..b245ff4 100644 --- a/org-theme/setup/short.setup +++ b/org-theme/setup/short.setup @@ -17,5 +17,7 @@ # theme.json before building it. # # +#+HTML_HEAD: +#+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: