Skip to content

Commit

Permalink
chore(template): add quotes for attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 26, 2015
1 parent ed468ee commit 9c3a099
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ Author information can be added in `./_app/_data/authors.yml`

* Now `<h1>` become the primary post / page title instead of `<h2>`, you should update your post to use the new structure
([a85184a9](http://github.com/sparanoid/sparanoid.com/commit/a85184a9ce785fc679e6ce95f7f17323109ed6f5))
* Force UTF-8 encoding, enable this will simply add <meta charset=utf-8> to the head of your pages, it's useful for local development since local server doesn't send charset in their respond header.
* Force UTF-8 encoding, enable this will simply add <meta charset="utf-8"> to the head of your pages, it's useful for local development since local server doesn't send charset in their respond header.
([0fb4c702](http://github.com/sparanoid/sparanoid.com/commit/0fb4c702aeaa5dd5306f0b19f40aaacb3f2f5b5f))


Expand Down Expand Up @@ -834,7 +834,7 @@ You can read more about the footnote syntax at https://github.com/vmg/redcarpet

#### Breaking Changes

* Removal of `.txt` CSS class may break your existing post layout. Now `.txt` is replaced with `main.content`, a global content wrapper. To fix layout breaks for your existing site: simply remove all `<div class=txt>` containers from your posts
* Removal of `.txt` CSS class may break your existing post layout. Now `.txt` is replaced with `main.content`, a global content wrapper. To fix layout breaks for your existing site: simply remove all `<div class="txt">` containers from your posts
([1f400475](http://github.com/sparanoid/sparanoid.com/commit/1f400475e3f3611919299fdcccad73779539fd16))


Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Footer section -->
{% if page.permalink == '/' and site.data.curtana.clean_homepage %}
{% else %}
<footer class=footer>
<footer class="footer">
<ul>
<li><a href="{{ site.base }}/">{{ site.name }}</a></li>

Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Main navigation with current page / categoriy highlighted -->
<nav class=navigation>
<nav class="navigation">
<ul>
{% for item in site.data.nav %}
{% assign lowercased_title = item.title | downcase %}
Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/page-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% endif %}
{% endcapture %}

<section class=list {{ amsf_post_lang }}>
<section class="list" {{ amsf_post_lang }}>
<h1>
<!-- Item title -->
<a href="{{ post.url | prepend: site.base }}" {% if site.data.curtana.colorful_list %}{{ post_link_color }}{% endif %}>{{ post.title }}</a>
Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<link rel="canonical" href="{{ amsf_page_url }}">

<!-- DNS prefetching for static files -->
{% if page.permalink == '/' %}<link rel=dns-prefetch href="{{ site.file }}">{% endif %}
{% if page.permalink == '/' %}<link rel="dns-prefetch" href="{{ site.file }}">{% endif %}

<!-- browser-sync, don't remove this -->
<!-- BS_INSERT -->
Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>{{ page.title }}</h1>
</header>

<!-- Page content -->
<div class=page-content>
<div class="page-content">
{{ content }}
</div>

Expand Down
4 changes: 2 additions & 2 deletions _app/_includes/themes/curtana/layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h1 class="{{ amsf_page_heading_class }}" title="{{ page.title | strip_html | xm

{% if page.date %}
<small>
By <span rel=author>{{ author.name }}</span>
By <span rel="author">{{ author.name }}</span>
on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%b %-d, %Y" }}</time>
</small>
{% endif %}
Expand All @@ -84,7 +84,7 @@ <h1 class="{{ amsf_page_heading_class }}" title="{{ page.title | strip_html | xm
</header>

<!-- Post content -->
<div class=post-content>
<div class="post-content">
{{ content }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion _app/_pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- Post title -->
<header>

<h1 class=amsf-title>
<h1 class="amsf-title">
Almace Scaffolding
<svg class="amsf-logo" width="761" height="462" viewBox="0 0 761 462" xmlns="http://www.w3.org/2000/svg">
<title>Almace Scaffolding</title>
Expand Down
4 changes: 2 additions & 2 deletions _app/_posts/note/2014-06-09-creating-themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ Output:

### `site.force_utf_8`

Force UTF-8 encoding, enable this will simply add `<meta charset=utf-8>` to the head of your pages.
Force UTF-8 encoding, enable this will simply add `<meta charset="utf-8">` to the head of your pages.

Template:

```html
{{ '{% if site.force_utf_8 ' }}%}
<meta charset=utf-8>
<meta charset="utf-8">
{{ '{% endif ' }}%}
```

Expand Down
2 changes: 1 addition & 1 deletion _config.init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ google_analytics:
# Site Twitter account handle
twitter: sparanoid

# Force UTF-8 encoding, enable this will simply add <meta charset=utf-8> to the head of your pages
# Force UTF-8 encoding, enable this will simply add <meta charset="utf-8"> to the head of your pages
# Default: false
force_utf_8: false

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ google_analytics:
# Site Twitter account handle
twitter: sparanoid

# Force UTF-8 encoding, enable this will simply add <meta charset=utf-8> to the head of your pages
# Force UTF-8 encoding, enable this will simply add <meta charset="utf-8"> to the head of your pages
# Default: false
force_utf_8: false

Expand Down

0 comments on commit 9c3a099

Please sign in to comment.