mirror of https://github.com/logseq/logseq
fix: can't publish on subdomain
parent
8e25a4dd32
commit
1114306116
|
@ -7,7 +7,7 @@
|
|||
(defn publishing-html
|
||||
[transit-db app-state]
|
||||
(let [{:keys [icon name alias title description url]} (:project (state/get-config))
|
||||
icon (or icon "/static/img/logo.png")
|
||||
icon (or icon "static/img/logo.png")
|
||||
project (or alias name)]
|
||||
(str "<!DOCTYPE html>\n"
|
||||
(hiccups.core/html
|
||||
|
@ -17,8 +17,8 @@
|
|||
{:content
|
||||
"minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no",
|
||||
:name "viewport"}]
|
||||
[:link {:type "text/css", :href "/static/css/style.css", :rel "stylesheet"}]
|
||||
[:link {:type "text/css", :href "/static/css/custom.css", :rel "stylesheet"}]
|
||||
[:link {:type "text/css", :href "static/css/style.css", :rel "stylesheet"}]
|
||||
[:link {:type "text/css", :href "static/css/custom.css", :rel "stylesheet"}]
|
||||
[:link
|
||||
{:href icon
|
||||
:type "image/png",
|
||||
|
@ -83,6 +83,6 @@
|
|||
}
|
||||
}(window.location))"]
|
||||
;; TODO: should make this configurable
|
||||
[:script {:src "/static/js/highlight.min.js"}]
|
||||
[:script {:src "/static/js/interact.min.js"}]
|
||||
[:script {:src "/static/js/main.js"}]]))))
|
||||
[:script {:src "static/js/highlight.min.js"}]
|
||||
[:script {:src "static/js/interact.min.js"}]
|
||||
[:script {:src "static/js/main.js"}]]))))
|
||||
|
|
Loading…
Reference in New Issue