commit 6b5371930671c8a1d6d1d16cca6d3156b8585600 Author: git Date: Sat Jun 3 15:58:09 2023 +0800 [init] initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e41d57c --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# ---> Jekyll +_site/ +.sass-cache/ +.jekyll-cache/ +.jekyll-metadata +# Ignore folders generated by Bundler +.bundle/ +vendor/ +# Ignore avatar +img/avatar.jpg + diff --git a/404.html b/404.html new file mode 100644 index 0000000..1ac85c6 --- /dev/null +++ b/404.html @@ -0,0 +1,16 @@ +--- +layout: default +title: 404 +hide-in-nav: true +description: "你来到了没有知识的荒原 :(" +header-img: "img/404-bg.jpg" +permalink: /404.html +--- + + + +{% include intro-header.html type="page" short='true' %} + + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..8da9b30 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,71 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) + colorator (1.1.0) + concurrent-ruby (1.1.9) + em-websocket (0.5.2) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.15.3) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (1.8.10) + concurrent-ruby (~> 1.0) + jekyll (4.2.0) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (~> 2.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (~> 0.4.0) + pathutil (~> 0.9) + rouge (~> 3.0) + safe_yaml (~> 1.0) + terminal-table (~> 2.0) + jekyll-paginate (1.1.0) + jekyll-sass-converter (2.1.0) + sassc (> 2.0.1, < 3.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.3.1) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.7.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (4.0.6) + rake (13.0.1) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.5) + rouge (3.26.0) + safe_yaml (1.0.5) + sassc (2.4.0) + ffi (~> 1.9) + terminal-table (2.0.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.7.0) + +PLATFORMS + ruby + +DEPENDENCIES + jekyll (~> 4.0) + jekyll-paginate + rake + +BUNDLED WITH + 2.1.2 diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..39a4b30 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,73 @@ +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + uglify: { + main: { + src: 'js/<%= pkg.name %>.js', + dest: 'js/<%= pkg.name %>.min.js' + } + }, + less: { + expanded: { + options: { + paths: ["css"] + }, + files: { + "css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less" + } + }, + minified: { + options: { + paths: ["css"], + cleancss: true + }, + files: { + "css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less" + } + } + }, + banner: '/*!\n' + + ' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' */\n', + usebanner: { + dist: { + options: { + position: 'top', + banner: '<%= banner %>' + }, + files: { + src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js'] + } + } + }, + watch: { + scripts: { + files: ['js/<%= pkg.name %>.js'], + tasks: ['uglify'], + options: { + spawn: false, + }, + }, + less: { + files: ['less/*.less'], + tasks: ['less'], + options: { + spawn: false, + } + }, + }, + }); + + // Load the plugins. + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-less'); + grunt.loadNpmTasks('grunt-banner'); + grunt.loadNpmTasks('grunt-contrib-watch'); + + // Default task(s). + grunt.registerTask('default', ['uglify', 'less', 'usebanner']); + +}; diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c28b26 --- /dev/null +++ b/README.md @@ -0,0 +1,107 @@ +## [诲之的博客](https://blog.rustle.cc) + +本博客是从[黄玄的博客](https://github.com/Huxpro/huxpro.github.io)借鉴修改而来,最原始的博客模板是[clean blog jekyll](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll),个人认为,博客整体风格是很棒的,对于并不是前端的小白来讲,也比较容易上手,适合折腾一下,不过根据博主自己的经验还是先打好基础再去折腾,会比较不走弯路,不会浪费过多的时间。 + +## User Manual 👉 + +构建一个[Jekyll](https://jekyllrb.com/)博客网站,需要的东西有,一台有公网IP的服务器,一个有所属权的域名,以及必要的软件环境,比如jekyll所依赖的ruby环境,jekyll主程序,以及web服务器(Nginx或者Apache),下面我们一步一步来构造,let's start~ + +#### 一个VPS服务器 + +按照步骤,首先需要有一个VPS服务器,根据域名是否已经备案可以选择国内或者国外的,知名的国内VPS服务器厂商有[阿里云](https://www.aliyun.com/)的ECS,[腾讯云](https://cloud.tencent.com/)的CVM,[天翼云](https://www.ctyun.cn/portal/)的EVM,还有[UCloud](https://www.ucloud.cn/),加拿大的[BandwagonHost](https://bwh81.net/),美国的[vultr](https://www.vultr.com/)以及[Linode](https://www.linode.com/)等等,具体如何开通不在此记录。 + +#### 一个用有所属权的域名 + +域名(Domain Name)又称网域,是由一串用点分隔的名字组成的Internet上某一台计算机或计算机组的名称,用于在数据传输时对计算机的定位标识(有时也指地理位置)。域名的出现是为了解决IP不好记忆的问题,使用域名的另一个好处是,可以在同一个IP上构建不同的网站。和VPS一样,域名是需要购买的,国内国外均有,基于维护的成本,国内是比较方面的,域名提供商也是参考VPS提供商即可。 + +购买完域名之后,需要设置解析,即哪一个域名要解析到哪一个IP上 + +![](https://blog.rustle.cc/img/domain.png) + +#### Jekyll环境 + +接下来配置Jekyll环境,Jekyll是一个静态网页生成器,诞生之初,网络上也充斥着关于静态网页博客的各种讨论和争执,不过现在看来,似乎没有什么意义了。他就是一个工具,内容才是核心。Jekyll是依赖ruby环境的,大多数人可能没有听说过这个编程语言,我也仅仅是听过而已。不过这并不影响我们使用,因为只要安装好环境,其他时间我只需要与Markdown打交道。如下是安装环境的主要命令(Ubuntu环境下),在Debian和Redhat下安装的时候所需要的依赖是不同的,这里不详细的记录,主要是看报错日志,缺少哪个依赖,安装上即可。 + +```bash +[root@rustle ~]$ apt install ruby ruby-dev +[root@rustle ~]$ gem install jekyll bundler +[root@rustle ~]$ bundle install +[root@rustle ~]$ jekyll build +``` + +#### web 服务器环境 + +目前主流的web服务器有nginx和apache两种,这里使用nginx为例来做演示,如下是安装配置过程 + +```bash +# install nginx +[root@rustle ~]$ wget http://nginx.org/download/nginx-1.20.2.tar.gz +[root@rustle ~]$ tar -xzf nginx-1.20.2.tar.gz && cd nginx-1.20.2 +[root@rustle nginx-1.20.2]$ ./configure --with-http_ssl_module && make && make install +... +[root@rustle nginx-1.20.2]$ ln -s /usr/local/nginx/sbin/nginx /usr/sbin/nginx + +# configure sercice +[root@rustle ~]$ systemctl enable nginx.service +[root@rustle ~]$ systemctl disable nginx.service +[root@rustle ~]$ systemctl start nginx.service +[root@rustle ~]$ systemctl stop nginx.service +[root@rustle ~]$ systemctl restart nginx.service +[root@rustle ~]$ systemctl status nginx.service +``` + +如下是nginx.service的把内容,将该文件放在/lib/systemd/system/,可执行如上的nginx的启动,停止,重载等命令: + +```text +--------------------------------------------------------------------------------------- +[Unit] +Description=nginx +After=network.target + +[Service] +Type=forking +ExecStart=/usr/local/nginx/sbin/nginx -c /opt/websites/conf/rustle.cc.conf +ExecReload=/usr/local/nginx/sbin/nginx -s reload +ExecStop=/usr/local/nginx/sbin/nginx -s quit +PrivateTmp=true + +[Install] +WantedBy=multi-user.target +--------------------------------------------------------------------------------------- +``` + +最后是修改nginx域名的配置文件,位置一般在/usr/local/nginx/conf/nginx.conf,如果是使用apt或者yum这种在线工具安装的nginx,那么配置文件在/etc/nginx/conf/nginx.conf,修改好重新运行nginx服务即可。 + +#### 配置证书(可选) + +如下是申请Let's Encrypt免费证书的命令行方法,只适用于申请单证书。当域名增加的时候只需要重新执行最后一行即可,Let's Encrypt证书有效期是3个月,可以使用`certbot renew --dry-run`命令实现自动续期: + +```bash +[ 0 root@rustle ~]$ yum install epel-release +[ 0 root@rustle ~]$ yum upgrade +[ 0 root@rustle ~]$ yum install snapd +[ 0 root@rustle ~]$ systemctl enable --now snapd.socket +[ 0 root@rustle ~]$ ln -s /var/lib/snapd/snap /snap +[ 0 root@rustle ~]$ snap install core +[ 0 root@rustle ~]$ snap refresh core +[ 0 root@rustle ~]$ snap install --classic certbot +[ 0 root@rustle ~]$ ln -s /snap/bin/certbot /usr/bin/certbot +[ 0 root@rustle ~]$ certbot --nginx-server-root /usr/local/nginx/conf +``` + +#### 效果图 + +![](https://blog.rustle.cc/img/blog_screenshot.jpg) + +## Reference + + * Jekyll 官方站点:https://jekyllrb.com/ + * 黄玄的博客:https://github.com/Huxpro/huxpro.github.io + +## License + + Apache License 2.0 +Copyright (c) 2022-present Manford Fan + +本博客是从[黄玄的博客](https://github.com/Huxpro/huxpro.github.io)借鉴修改而来,最原始的博客模板是[clean blog jekyll](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll),引用借鉴请注明原始出处。 + diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..a8be627 --- /dev/null +++ b/Rakefile @@ -0,0 +1,54 @@ +require "rubygems" +require 'rake' +require 'yaml' +require 'time' + +SOURCE = "." +CONFIG = { + 'version' => "12.3.2", + 'themes' => File.join(SOURCE, "_includes", "themes"), + 'layouts' => File.join(SOURCE, "_layouts"), + 'posts' => File.join(SOURCE, "_posts"), + 'post_ext' => "md", + 'theme_package_version' => "0.1.0" +} + +# Usage: rake post title="A Title" subtitle="A sub title" +desc "Begin a new post in #{CONFIG['posts']}" +task :post do + abort("rake aborted: '#{CONFIG['posts']}' directory not found.") unless FileTest.directory?(CONFIG['posts']) + title = ENV["title"] || "new-post" + subtitle = ENV["subtitle"] || "This is a subtitle" + slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '') + begin + date = (ENV['date'] ? Time.parse(ENV['date']) : Time.now).strftime('%Y-%m-%d') + rescue Exception => e + puts "Error - date format must be YYYY-MM-DD, please check you typed it correctly!" + exit -1 + end + filename = File.join(CONFIG['posts'], "#{date}-#{slug}.#{CONFIG['post_ext']}") + if File.exist?(filename) + abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n' + end + + puts "Creating new post: #{filename}" + open(filename, 'w') do |post| + post.puts "---" + post.puts "layout: post" + post.puts "title: \"#{title.gsub(/-/,' ')}\"" + post.puts "subtitle: \"#{subtitle.gsub(/-/,' ')}\"" + post.puts "date: #{date}" + post.puts "author: \"Hux\"" + post.puts "header-img: \"img/post-bg-2015.jpg\"" + post.puts "tags: []" + post.puts "---" + end +end # task :post + +desc "Launch preview environment" +task :preview do + system "jekyll --auto --server" +end # task :preview + +#Load custom rake scripts +Dir['_rake/*.rake'].each { |r| load r } diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..956c000 --- /dev/null +++ b/_config.yml @@ -0,0 +1,108 @@ +# Site settings +title: Manford's Blog +SEOTitle: 诲之的博客 +header-img: img/home-bg.jpg +email: mffan0922@163.com +description: "一只特立独行的猪~" +keyword: "网络, Networks, CDN, 内容分发, Linux, Bash, Python, 爬虫, 诲之, Manford" +url: "https://blog.rustle.cc" +baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog' + +# Publish posts or collection documents with a future date. +future: true + +# SNS settings, plz check _includes/sns-links.html for more icon +RSS: false +github_username: mffan0922 +weibo_username: ericfanme +zhihu_username: Manford123 +mail_username: mffan0922 + +# Build settings +# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead. +highlighter: rouge +permalink: pretty +paginate: 10 +exclude: ["less","node_modules","Gruntfile.js","package.json","README.md","README.zh.md"] +anchorjs: true # if you want to customize anchor. check out line:181 of `post.html` +# If you have timezone issue (e.g. #68) in China, uncomment to use this: +#timezone: CN + + + +# Gems +# from PR#40, to support local preview for Jekyll 3.0 +# make sure you have this gem installed +# `$ gem install jekyll-paginate` +plugins: [jekyll-paginate] + + + +# Markdown settings +# replace redcarpet to kramdown, +# although redcarpet can auto highlight code, the lack of header-id make the catalog impossible, so I switch to kramdown +# document: http://jekyllrb.com/docs/configuration/#kramdown +markdown: kramdown +kramdown: + input: GFM # use Github Flavored Markdown !important + syntax_highlighter_opts: + span: + line_numbers: false + block: + line_numbers: true + start_line: 1 + + + +# Disqus settings +# disqus_username: hux + +# Netease settings +# netease_comment: false + + + +# Analytics settings +# Baidu Analytics +# ba_track_id: [your track id] + +# Google Analytics +# ga_track_id: 'UA-49627206-1' # Format: UA-xxxxxx-xx +# ga_domain: huangxuan.me + + + +# Sidebar settings +sidebar: true # whether or not using Sidebar. +sidebar-about-description: "一只特立独行的猪~" +sidebar-avatar: /img/avatar.jpg # use absolute URL, seeing it's used in both `/` and `/about/` + + + +# Featured Tags +featured-tags: true # whether or not using Feature-Tags +featured-condition-size: 1 # A tag will be featured if the size of it is more than this condition value + + + +# Progressive Web Apps +chrome-tab-theme-color: "#000000" +service-worker: true + + + +# MathJax rendering for layout:page (e.g. post preview) +page-mathjax: false + + + +# Friends +friends: [ + { + title: "Jekyll官方", + href: "http://jekyllcn.com/" + }, { + title: "SRE运维博客", + href: "https://www.cnsre.cn/" + } +] diff --git a/_includes/about/en.md b/_includes/about/en.md new file mode 100644 index 0000000..de7c275 --- /dev/null +++ b/_includes/about/en.md @@ -0,0 +1,17 @@ +**Hi, my friend, welcome visiting my blog site.** + +## About ME + +This blogger is from Shandong, and currently working in Fujian, who loves poring over many computer things while he himself is not so professional. Privately I think that life lies in finding something to do, because life is so boring if you just do one thing all the time. With regards to my non-professionality, sometimes I have to go with trial and error. + +## About EDU&JOB + +- 2011.09 ~ 2015.07:Xi'an-Northwestern Polytechnical University +- 2015.09 ~ 2018.01:Tianjin-Tianjin University +- 2018.01 ~ 2019.01:Wuxi-CSC Sony R&D Department +- 2019.03 ~ 2021.07:Ji'nan-Inspur Electronic Information Co.,Ltd +- 2021.07 ~ 2022.12:Xiamen-China Telecom Cloud + +## About FUTURE + +Hoping living together with my family as soon as possible, hoping getting married with Miss Right as fast as I can, hoping covid-19 vanishing like it has never appeared, and hoping everything goes well and the future would be promising! diff --git a/_includes/about/zh.md b/_includes/about/zh.md new file mode 100644 index 0000000..bc044f4 --- /dev/null +++ b/_includes/about/zh.md @@ -0,0 +1,17 @@ +**你好,我的朋友,欢迎来到诲之的博客。** + +## 关于博主 + +博主籍贯山东,目前在福建,是一个又菜又爱折腾的人。私以为生命在于折腾,生命不息,折腾不止,不然生活就少了很多乐趣。非科班,却又对IT类的技术相关非常感兴趣,所以大部分都是在试错中摸索前行。 + +## 个人履历 + +- 2011.09 ~ 2015.07:西安-西北工业大学 +- 2015.09 ~ 2018.01:天津-天津大学 +- 2018.01 ~ 2019.01:无锡-CSC索尼研发部 +- 2019.03 ~ 2021.07:济南-浪潮信息项目管理部 +- 2021.07 ~ 2022.12:厦门-CTC天翼研发部 + +## 未来期许 + +希望和家人早点团聚,共同生活;希望赶快结婚,筑建自己的小窝;希望让疫情不在肆虐,凭空消失。总的来说,希望未来诸事顺遂,美好可期! diff --git a/_includes/featured-tags.html b/_includes/featured-tags.html new file mode 100644 index 0000000..50895d1 --- /dev/null +++ b/_includes/featured-tags.html @@ -0,0 +1,28 @@ +{% comment %} + @param {boolean} bottom - bottom will render
+{% endcomment %} + +{% if site.featured-tags %} +
+ {% if include.bottom %} + + {% endif %} +
FEATURED TAGS
+
+ {% capture tags %} + {% comment %} + there must be no space between for and if otherwise this tricky sort won't work. + url_encode/decode is for escaping otherwise extra will get generated + but it will break sort... + {% endcomment %} + {% for tag in site.tags %}{% if tag[1].size > site.featured-condition-size %} + {{ tag[0] }}__SEPARATOR__ + {% endif %}{% endfor %} + {% endcapture %} + {{ tags | split:'__SEPARATOR__' | sort }} +
+
+{% endif %} \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..b232e0c --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,330 @@ + +
+
+
+
+ + {% include sns-links.html center=true %} + + +
+
+
+
+ + + + + + + + + + + + + + + +{% if site.service-worker %} + + +{% endif %} + + + + + + + + +{% if page.plchart %} + + +{% endif %} + + +{% if page.title == 'Archive' %} + + + +{% endif %} + + + + + + + + + + + +{% unless page.no-catalog %} + +{% endunless %} + + + +{% if page.multilingual %} + + +{% endif %} + + + diff --git a/_includes/friends.html b/_includes/friends.html new file mode 100644 index 0000000..d89606f --- /dev/null +++ b/_includes/friends.html @@ -0,0 +1,9 @@ +{% if site.friends %} +
+
FRIENDS
+ +{% endif %} \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..8a07223 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + {% case page.layout %} + {% when 'post' %} + + + {% if page.date %} + + {% endif %} + {% if page.author %} + + {% endif %} + {% for tag in page.tags %} + + {% endfor %} + {% else %} + + + {% endcase %} + + + + + {% if page.title %}{{ page.title }} - {{ site.SEOTitle }}{% else %}{{ site.SEOTitle }}{% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_includes/intro-header.html b/_includes/intro-header.html new file mode 100644 index 0000000..eb35eb2 --- /dev/null +++ b/_includes/intro-header.html @@ -0,0 +1,110 @@ +{% comment %} + @param {string} type - 'page' | 'post' | 'keynote' + @param {boolean} short +{% endcomment %} + +{% if include.type == 'post' %} + +{% if page.header-style == 'text' %} +
+{% else %} +
+{% endif %} +
+ {% if page.header-img-credit %} + + {% endif %} +
+
+
+
+
+ {% for tag in page.tags %} + {{ tag }} + {% endfor %} +
+

{{ page.title }}

+ {% comment %} always create a h2 for keeping the margin {% endcomment %} +

{{ page.subtitle }}

+ Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }} +
+
+
+
+
+{% endif %} + +{% if include.type == 'keynote' %} + +
+ + +
+
+
+
+
+ {% for tag in page.tags %} + {{ tag }} + {% endfor %} +
+

{{ page.title }}

+ {% comment %} always create a h2 for keeping the margin {% endcomment %} +

{{ page.subtitle }}

+ Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} + on {{ page.date | date: "%B %-d, %Y" }} +
+
+
+
+
+{% endif %} + +{% if include.type == 'page' %} +
+
+
+
+ {% if include.short %} +
+ {% else %} +
+ {% endif %} +

{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}

+ {{ page.description }} +
+
+
+
+
+{% endif %} \ No newline at end of file diff --git a/_includes/mathjax_support.html b/_includes/mathjax_support.html new file mode 100644 index 0000000..7a55097 --- /dev/null +++ b/_includes/mathjax_support.html @@ -0,0 +1,20 @@ + + \ No newline at end of file diff --git a/_includes/multilingual-sel.html b/_includes/multilingual-sel.html new file mode 100644 index 0000000..355f947 --- /dev/null +++ b/_includes/multilingual-sel.html @@ -0,0 +1,6 @@ + + + diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..d2c123b --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,97 @@ + +{% if page.nav-style == "invert" or page.header-style == "text" %} +