diff --git a/.gitignore b/.gitignore index 06968d0..29dc5be 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ _site/ .sass-cache/ .jekyll-cache/ .jekyll-metadata - +.bundle/ +vendor/ diff --git a/404.html b/404.html new file mode 100644 index 0000000..2b18772 --- /dev/null +++ b/404.html @@ -0,0 +1,5 @@ +--- +layout: 404 +title: 404 +show_title: false +--- \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..db67d66 --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +source "https://rubygems.org" + +# gem "jekyll-text-theme", path: "../" +gem "jekyll-text-theme" + +gem "tzinfo-data" +gem "wdm", "~> 0.1.0" if Gem.win_platform? \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b0c978a --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,94 @@ +GEM + remote: https://rubygems.org/ + specs: + activesupport (3.2.22.5) + i18n (~> 0.6, >= 0.6.4) + multi_json (~> 1.0) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) + colorator (1.1.0) + concurrent-ruby (1.1.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.11.1) + forwardable-extended (2.6.0) + gemoji (3.0.1) + html-pipeline (2.11.1) + activesupport (>= 2) + nokogiri (>= 1.4) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.6) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + jekyll-feed (0.9.3) + jekyll (~> 3.3) + jekyll-paginate (1.1.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-sitemap (1.3.1) + jekyll (>= 3.7, < 5.0) + jekyll-text-theme (2.2.4) + jekyll (~> 3.5) + jekyll-feed (~> 0.9.2) + jekyll-paginate (~> 1.1) + jekyll-sitemap (~> 1.0) + jemoji (~> 0.8) + jekyll-watch (2.2.1) + listen (~> 3.0) + jemoji (0.11.0) + gemoji (~> 3.0) + html-pipeline (~> 2.2) + jekyll (>= 3.0, < 5.0) + kramdown (1.17.0) + liquid (4.0.3) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + mini_portile2 (2.4.0) + multi_json (1.13.1) + nokogiri (1.10.3) + mini_portile2 (~> 2.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (3.1.1) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + rouge (3.6.0) + ruby_dep (1.5.0) + safe_yaml (1.0.5) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + tzinfo (2.0.0) + concurrent-ruby (~> 1.0) + tzinfo-data (1.2019.2) + tzinfo (>= 1.0.0) + +PLATFORMS + ruby + +DEPENDENCIES + jekyll-text-theme + tzinfo-data + +BUNDLED WITH + 2.0.2 diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..86fa3a1 --- /dev/null +++ b/_config.yml @@ -0,0 +1,155 @@ +theme: jekyll-text-theme # Gem-based Jekyll Themes + +text_skin: dark +highlight_theme: tomorrow-night-bright +url : / +baseurl : # does not include hostname +title : Ceda EI's Blog + +## => Language and Timezone +############################## +lang: en # the language of your site, default as "en" +timezone: IN # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the available values + + +## => Author and Social +############################## +author: + type : person # "person" (default), "organization" + name : Ceda EI + url : https://webionite.com/ + avatar : https://webionite.com/images/ceda.jpg # path or url of avatar image (square) + bio : > + I am a 19-year old student from India who has an interest in system + administration and programming. I am a Linux user who likes to rice his + desktop and have some experience managing servers. + email : ceda_ei@webionite.com + telegram : ceda_ei + + +## => Paths +############################## +paths: + root : / # title link url, "/" (default) + home : / # home layout url, "/" (default) + archive : /archive.html # "/archive.html" (default) + rss : /feed.xml # "/feed.xml" (default) + + + +## => Post +############################## +## excerpt +excerpt_separator: + +## license +license: CC-BY-SA-4.0 # "CC-BY-4.0", "CC-BY-SA-4.0", "CC-BY-NC-4.0", "CC-BY-ND-4.0" + +## TOC +toc: + selectors: # "h1,h2,h3" (default) + + +## => Markdown Enhancements +############################## +## Mathjax +mathjax: # false (default), true +mathjax_autoNumber: # false (default), true + +## Mermaid +mermaid: # false (default), true + +## Chart +chart: # false (default), true + + +## => Paginate +############################## +paginate: 8 +paginate_path: /page:num # don't change this unless for special need + + +## => Sources +############################## +sources: # bootcdn (default), unpkg + + +## => Sharing +############################## +sharing: + provider: false # false (default), "addtoany", "addthis", "custom" + + ## AddThis + addthis: + id: # AddThis pubid, e.g. ra-5xxxxxxxxxxx + + +## => Comments +############################## +comments: + provider: false # false (default), "disqus", "gitalk", "valine", "custom" + +## => Pageview +############################## +pageview: + provider: false # false (default), "leancloud", "custom" + + +## => Search +############################## +search: + provider: false # "default" (default), false, "google", "custom" + + +## => Analytics +############################## +analytics: + provider: false # false (default), "google", "custom" + + +## => Build +############################## +markdown : kramdown +highlighter : rouge +permalink : date + +exclude: + - CHANGELOG.md + - HOW_TO_RELEASE.md + - Gemfile + - Gemfile.lock + - LICENSE + - README-*.md + - README.md + - gulpfile.js + - jekyll-text-theme.gemspec + - package-lock.json + - package.json + - /docs + - /node_modules + - /screenshots + - /test + - /vendor + +defaults: + - scope: + path: "" + type: posts + values: + layout: article + sharing: true + license: true + aside: + toc: true + show_edit_on_github: false + show_subscribe: true + pageview: false + + +## => Plugins +############################## +plugins: + - jekyll-feed + - jekyll-paginate + - jekyll-sitemap + - jemoji diff --git a/_data/authors.yml b/_data/authors.yml new file mode 100644 index 0000000..e69de29 diff --git a/_data/licenses.yml b/_data/licenses.yml new file mode 100644 index 0000000..eac8ee8 --- /dev/null +++ b/_data/licenses.yml @@ -0,0 +1,16 @@ +CC-BY-4.0: + name: Attribution 4.0 International + url: https://creativecommons.org/licenses/by/4.0/ + image: https://i.creativecommons.org/l/by/4.0/88x31.png +CC-BY-SA-4.0: + name: Attribution-ShareAlike 4.0 International + url: https://creativecommons.org/licenses/by-sa/4.0/ + image: https://i.creativecommons.org/l/by-sa/4.0/88x31.png +CC-BY-NC-4.0: + name: Attribution-NonCommercial 4.0 International + url: https://creativecommons.org/licenses/by-nc/4.0/ + image: https://i.creativecommons.org/l/by-nc/4.0/88x31.png +CC-BY-ND-4.0: + name: Attribution-NoDerivatives 4.0 International + url: https://creativecommons.org/licenses/by-nd/4.0/ + image: https://i.creativecommons.org/l/by-nd/4.0/88x31.png \ No newline at end of file diff --git a/_data/locale.yml b/_data/locale.yml new file mode 100644 index 0000000..a2196b0 --- /dev/null +++ b/_data/locale.yml @@ -0,0 +1,21 @@ +## => Engish +######################## +en: &EN + SUBSCRIBE : "Subscribe" + READMORE : "Read more" + SEARCH : "Search" + CANCEL : "Cancel" + VIEWS : "views" + LAST_UPDATED : "Last updated" + PREVIOUS : "PREVIOUS" + NEXT : "NEXT" + ARTICLE_DATE_FORMAT : "%b %d, %Y" + ARTICLE_LIST_DATE_FORMAT: "%b %d" + STATISTICS : "[POST_COUNT] post articles, [PAGE_COUNT] pages." + LICENSE_ANNOUNCE : "This work is licensed under a [LICENSE] license." + POST_ON_GITHUB : "Edit on Github" + FOLLOW_ME : "Follow me on [NAME]." + FOLLOW_US : "Follow us on [NAME]." + EMAIL_ME : "Send me an Email." + EMAIL_US : "Send us an Email." + COPYRIGHT_DATES : "2019" diff --git a/_data/navigation.yml b/_data/navigation.yml new file mode 100644 index 0000000..dfb3593 --- /dev/null +++ b/_data/navigation.yml @@ -0,0 +1,12 @@ +header: + - titles: + en : &EN Archive + url: /archive.html + + - titles: + en : &EN Portfolio + url: https://webionite.com + + - titles: + en : &EN RSS + url: /feed.xml diff --git a/_data/variables.yml b/_data/variables.yml new file mode 100644 index 0000000..e3be92d --- /dev/null +++ b/_data/variables.yml @@ -0,0 +1,64 @@ +default: + text_skin: default + highlight_theme: default + lang: en + paths: + root: / + home: / + archive: /archive.html + rss: /feed.xml + mathjax: false + mathjax_autoNumber: false + mermaid: false + chart: false + toc: + selectors: 'h1,h2,h3' + sources: bootcdn + + page: + mode: normal + type: webpage + article_header: + align: left + theme: light + articles: + show_cover: true + show_excerpt: false + show_readmore: false + show_info: false + show_title: true + show_edit_on_github: false + show_date: true + show_tags: true + show_author_profile: false + show_subscribe: false + full_width: false + sharing: false + comment: true + license: false + pageview: false + search: default + +sources: + bootcdn: + font_awesome: 'https://use.fontawesome.com/releases/v5.0.13/css/all.css' + jquery: 'https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js' + leancloud_js_sdk: '//cdn.jsdelivr.net/npm/leancloud-storage@3.13.2/dist/av-min.js' + chart: 'https://cdn.bootcss.com/Chart.js/2.7.2/Chart.bundle.min.js' + gitalk: + js: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.js' + css: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.css' + valine: 'https://unpkg.com/valine/dist/Valine.min.js' # bootcdn not available + mathjax: 'https://cdn.bootcss.com/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML' + mermaid: 'https://cdn.bootcss.com/mermaid/8.0.0-rc.8/mermaid.min.js' + unpkg: + font_awesome: 'https://use.fontawesome.com/releases/v5.0.13/css/all.css' + jquery: 'https://unpkg.com/jquery@3.3.1/dist/jquery.min.js' + leancloud_js_sdk: '//cdn.jsdelivr.net/npm/leancloud-storage@3.13.2/dist/av-min.js' + chart: 'https://unpkg.com/chart.js@2.7.2/dist/Chart.min.js' + gitalk: + js: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.min.js' + css: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.css' + valine: 'https//unpkg.com/valine/dist/Valine.min.js' + mathjax: 'https://unpkg.com/mathjax@2.7.4/unpacked/MathJax.js?config=TeX-MML-AM_CHTML' + mermaid: 'https://unpkg.com/mermaid@8.0.0-rc.8/dist/mermaid.min.js' \ No newline at end of file diff --git a/_includes/svg/logo.svg b/_includes/svg/logo.svg new file mode 100644 index 0000000..23a6a03 --- /dev/null +++ b/_includes/svg/logo.svg @@ -0,0 +1,57 @@ + + + + + + + + + + image/svg+xml + + + + + + + diff --git a/archive.html b/archive.html new file mode 100644 index 0000000..2ba238f --- /dev/null +++ b/archive.html @@ -0,0 +1,9 @@ +--- +layout: archive +titles: + en: All Posts + zh: 归档 + zh-Hans: 归档 + zh-Hant: 歸檔 +show_title: false +--- \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..c31cfbd --- /dev/null +++ b/index.html @@ -0,0 +1,5 @@ +--- +layout: home +# articles: +# excerpt_type: html +--- \ No newline at end of file