diff --git a/Gemfile b/Gemfile index bb94df829..19254e3b4 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,14 @@ # frozen_string_literal: true source "https://rubygems.org" + +group :jekyll_plugins do + gem 'jekyll-feed' + gem 'jekyll-sitemap' + gem 'jekyll-seo-tag' + gem 'jekyll-analytics' + gem 'jekyll-algolia' + gem 'jekyll-menus' + end + gemspec diff --git a/_config.yml b/_config.yml index ce6f58d65..8438ebd9b 100644 --- a/_config.yml +++ b/_config.yml @@ -31,9 +31,32 @@ plugins: - jekyll-sitemap - jekyll-seo-tag - jekyll-analytics + - jekyll-algolia - jekyll-menus +# code highlighter +highlighter: rouge + jekyll_analytics: GoogleAnalytics: # Add, if you want to track with Google Analytics id: UA-46783401-10 # Required - replace with your tracking id anonymizeIp: false # Optional - Default: false - set to true for anonymized tracking + +# minify html +compress_html: + clippings: [] + comments: [] + endings: [] + ignore: + envs: [] + blanklines: false + profile: false + startings: [] + +# algolia search +algolia: + application_id: D9WA1YKTRQ + index_name: blog_posts # You can replace that with whatever name you want + files_to_exclude: [] + nodes_to_index: 'article' + search_only_api_key: 58ffdd7cd6c45ec1577a7fcd789b1b9a \ No newline at end of file diff --git a/_includes/algolia_search.html b/_includes/algolia_search.html new file mode 100644 index 000000000..ffbaf60bc --- /dev/null +++ b/_includes/algolia_search.html @@ -0,0 +1,63 @@ + + + diff --git a/_includes/blog_posts.html b/_includes/blog_posts.html index 01ba08925..c4733ddb8 100644 --- a/_includes/blog_posts.html +++ b/_includes/blog_posts.html @@ -1,4 +1,14 @@ +
+ + +
+ + \ No newline at end of file diff --git a/_includes/blog_sidebar.html b/_includes/blog_sidebar.html index 5513cce4b..c9645248d 100644 --- a/_includes/blog_sidebar.html +++ b/_includes/blog_sidebar.html @@ -1,3 +1,4 @@ +
About
diff --git a/_includes/head.html b/_includes/head.html index 52fe5ad27..ab7139eaa 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -24,6 +24,13 @@ crossorigin="anonymous"> + + + + + + +