Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid nesting double quotes in html #532

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/favicons.html
@@ -1 +1 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ "images/favicon.ico" | relative_url }}">
<link rel="shortcut icon" type="image/x-icon" href="{{ 'images/favicon.ico' | relative_url }}">
2 changes: 1 addition & 1 deletion _includes/head.html
Expand Up @@ -3,7 +3,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Expand Up @@ -4,7 +4,7 @@
{%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%}
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
<a class="site-title" rel="author" href="{{ '/' | relative_url }}">{{ site.title | escape }}</a>

{%- if titles_size > 0 -%}
<nav class="site-nav">
Expand Down
2 changes: 1 addition & 1 deletion _includes/notebook_colab_link.html
@@ -1,5 +1,5 @@
<div class="px-2">
<a href="https://colab.research.google.com/github/{{site.github_username}}/{{site.github_repo | default: site.baseurl | remove: "/" }}/blob/{{page.branch | default: "master"}}/{{page.nb_path}}">
<img class="notebook-badge-image" src="{{ "assets/badges/colab.svg" | relative_url }}" alt="Open In Colab"/>
<img class="notebook-badge-image" src="{{ 'assets/badges/colab.svg' | relative_url }}" alt="Open In Colab"/>
</a>
</div>
2 changes: 1 addition & 1 deletion _includes/notebook_github_link.html
Expand Up @@ -4,6 +4,6 @@
{% elsif page.layout == 'post' %}
<a href="https://github.com/{{site.github_username}}/{{site.github_repo | default: site.baseurl | remove: "/" }}/tree/{{page.branch | default: "master" }}/{{page.path}}" role="button">
{% endif -%}
<img class="notebook-badge-image" src="{{ "assets/badges/github.svg" | relative_url }}" alt="View On GitHub">
<img class="notebook-badge-image" src="{{ 'assets/badges/github.svg' | relative_url }}" alt="View On GitHub">
</a>
</div>