diff --git a/_config.yml b/_config.yml index 60b1cb2..99e84d9 100644 --- a/_config.yml +++ b/_config.yml @@ -46,7 +46,7 @@ max_width: 800px # ----------------------------------------------------------------------------- # Open Graph & Schema.org # ----------------------------------------------------------------------------- -# Display links to the page with a preview object on social media. + serve_og_meta: false # Include Open Graph meta tags in the HTML head serve_schema_org: false # Include Schema.org in the HTML head og_image: # The site-wide (default for all links) Open Graph preview image @@ -70,7 +70,7 @@ bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) # Blog # ----------------------------------------------------------------------------- -# blog_name: blog # your blog must have a name for it to show up in the nav bar +# blog_name: blog # blog_description: # permalink: /blog/:year/:title/ @@ -98,10 +98,9 @@ collections: # Jekyll settings # ----------------------------------------------------------------------------- -# Markdown and syntax highlight markdown: kramdown highlighter: rouge -highlight_theme: github # https://github.com/jwarby/jekyll-pygments-themes +highlight_theme: github kramdown: input: GFM syntax_highlighter_opts: @@ -112,7 +111,6 @@ kramdown: line_numbers: false start_line: 1 -# Includes & excludes include: ['_pages'] exclude: - bin diff --git a/_includes/metadata.html b/_includes/metadata.html index 75a2752..cbb9460 100644 --- a/_includes/metadata.html +++ b/_includes/metadata.html @@ -1,5 +1,4 @@ {% if site.enable_google_verification or site.enable_bing_verification %} - {% if site.enable_google_verification -%} {%- endif -%} @@ -8,7 +7,6 @@ {%- endif -%} {%- endif %} - @@ -43,35 +41,12 @@ {%- endif %} - - - - - {% if page.og_image or site.og_image -%} - - {%- endif %} - {% if site.twitter_username -%} - - - {%- endif %} {%- endif %} {%- if site.serve_schema_org %} {%- comment -%} Social links generator for "sameAs schema" {%- endcomment %} {% assign sameaslinks = "" | split: "," %} - {%- if site.orcid_id -%} - {%- capture link -%}https://orcid.org/{{ site.orcid_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.publons_id -%} - {%- capture link -%}https://publons.com/a/{{ site.publons_id }}/{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.research_gate_profile -%} - {%- capture link -%}https://www.researchgate.net/profile/{{site.research_gate_profile}}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} {%- if site.github_username -%} {%- capture link -%}https://github.com/{{ site.github_username }}{%- endcapture -%} {%- assign sameaslinks = sameaslinks | push: link -%} @@ -80,50 +55,14 @@ {%- capture link -%}https://www.linkedin.com/in/{{ site.linkedin_username }}{%- endcapture -%} {%- assign sameaslinks = sameaslinks | push: link -%} {%- endif -%} - {%- if site.twitter_username -%} - {%- capture link -%}https://twitter.com/{{ site.twitter_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.medium_username -%} - {%- capture link -%}https://medium.com/@{{ site.medium_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.quora_username -%} - {%- capture link -%}https://www.quora.com/profile/{{ site.quora_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.blogger_url -%} - {%- capture link -%}{{ site.blogger_url }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} {%- if site.work_url -%} {%- capture link -%}{{ site.work_url }}{%- endcapture -%} {%- assign sameaslinks = sameaslinks | push: link -%} {%- endif -%} - {%- if site.wikidata_id -%} - {%- capture link -%}https://www.wikidata.org/wiki/{{ site.wikidata_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.strava_userid -%} - {%- capture link -%}https://www.strava.com/athletes/{{ site.strava_userid }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.keybase_username -%} - {%- capture link -%}https://keybase.io/{{ site.keybase_username }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} {%- if site.gitlab_username -%} {%- capture link -%}https://gitlab.com/{{ site.gitlab_username }}{%- endcapture -%} {%- assign sameaslinks = sameaslinks | push: link -%} {%- endif -%} - {%- if site.dblp_url -%} - {%- capture link -%}{{ site.dblp_url }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} - {%- if site.stackoverflow_id -%} - {%- capture link -%}https://stackoverflow.com/users/{{ site.stackoverflow_id }}{%- endcapture -%} - {%- assign sameaslinks = sameaslinks | push: link -%} - {%- endif -%} {%- if sameaslinks != blank -%} {%- assign sameaslinks = sameaslinks | split: "" -%} {%- endif -%}