diff --git a/Gemfile b/Gemfile index 3be9c3c..feb1cd1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,2 +1,5 @@ source "https://rubygems.org" gemspec +group :jekyll_plugins do + gem "jekyll-katex" +end \ No newline at end of file diff --git a/_config.yml b/_config.yml index 1dacecc..7a045dd 100644 --- a/_config.yml +++ b/_config.yml @@ -81,7 +81,7 @@ nav_sort: case_sensitive # Capital letters sorted before lowercase back_to_top: true back_to_top_text: "Lên đầu trang" -footer_content: "@Quang Thắng" +footer_content: "Sống như một đóa hoa!" # Footer last edited timestamp last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter @@ -104,8 +104,15 @@ color_scheme: nil cf_tracking: a3bc8207481e41caad5cb16558187c6b +# Katex +katex: + rendering_options: + throw_error: true + error_color: "#cc0000" + plugins: - jekyll-seo-tag + - jekyll-katex kramdown: syntax_highlighter_opts: diff --git a/_includes/head.html b/_includes/head.html index c0f73d7..3ecdae9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -14,18 +14,6 @@ - {% if site.ga_tracking != nil %} - - - - {% endif %} - {% if site.search_enabled != false %} {% endif %} diff --git a/_includes/head_custom.html b/_includes/head_custom.html index e69de29..c76d1e6 100644 --- a/_includes/head_custom.html +++ b/_includes/head_custom.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index fc3ce92..0d33082 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,7 +15,7 @@ layout: table_wrappers - Search + Tìm kiếm @@ -27,13 +27,13 @@ layout: table_wrappers - Expand + Mở rộng - Document + Tài liệu @@ -74,7 +74,7 @@ layout: table_wrappers {% if site.search_enabled != false %}