Skip to content

Commit

Permalink
chore: bump up bootstrap 5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kijimaD committed Nov 14, 2024
1 parent 9066b0c commit f26fa3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish.el
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
(a (@ (class "nav-link text-secondary small px-0") (href "https://github.com/kijimaD")) "@kijimaD")))
(div (@ (class "col-md-4")) "")))))
(sxml-to-xml
`(script (@ (src "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"))))))
`(script (@ (src "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"))))))

(setq org-html-preamble #'dw/site-header
org-html-postamble #'dw/site-footer
Expand All @@ -157,7 +157,7 @@
;; PageSpeed Insights で指摘された項目
;; link要素にはasync属性やdefer属性がない
;; 記法の参考: https://qiita.com/rana_kualu/items/95a7adf8420ea2b9f657
"<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css' media='print' onload='this.media=\"all\"' />"
"<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css' media='print' onload='this.media=\"all\"' />"
"<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css' media='print' onload='this.media=\"all\"' />"

;; ルートディレクトリにないorgファイルをエクスポートした場合、相対パスが変わる。絶対パスにするとGH pagesのルートディレクトリがpublicの一つ上の階層になる(/リポジトリ名/public)ため、ローカル環境で使えなくなる。つまりローカルでは`/`でokなのに、本番では`/roam`としないといけない。
Expand Down

0 comments on commit f26fa3a

Please sign in to comment.