Support ads: false
This commit is contained in:
parent
a5f055fb55
commit
5bdc34c20a
|
@ -33,6 +33,6 @@ Each sheet supports these metadata:
|
|||
title: React.js
|
||||
category: React
|
||||
layout: 2017/sheet # 'default' | '2017/sheet'
|
||||
ads: true # Add this for ads
|
||||
ads: false # Add this to disable ads
|
||||
---
|
||||
```
|
||||
|
|
|
@ -6,9 +6,9 @@ type: article
|
|||
{% include 2017/top-nav.html page=page %}
|
||||
|
||||
<div class='body-area'>
|
||||
<div class='main-heading {% if page.ads %}-with-ads{% endif %}'>
|
||||
<div class='main-heading {% if page.ads != false %}-with-ads{% endif %}'>
|
||||
<h1 class='h1'>{{ page.title }} <em>cheatsheet</em></h1>
|
||||
{% if page.ads %}
|
||||
{% if page.ads != false %}
|
||||
<div class='HeadlineAd ad'>
|
||||
<script async src='//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=ricostacruzcom' id="_carbonads_js"></script>
|
||||
</div>
|
||||
|
|
8
vim.md
8
vim.md
|
@ -218,9 +218,15 @@ Do these in visual mode.
|
|||
|
||||
### Marks
|
||||
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| <code>`^</code> | Last position of cursor in insert mode |
|
||||
| <code>`.</code> | Last change |
|
||||
| <code>``</code> | Last jump |
|
||||
| --- | --- |
|
||||
| `ma` | Mark this cursor position as `a` |
|
||||
| `'a` | Jump to cursor position `a` |
|
||||
{: .-shortcuts}
|
||||
|
||||
### Misc
|
||||
|
||||
|
@ -230,6 +236,7 @@ Do these in visual mode.
|
|||
| `]p` | paste under the current indentation level |
|
||||
| --- | --- |
|
||||
| `zz` | Center this line |
|
||||
{: .-shortcuts}
|
||||
|
||||
### Command line
|
||||
|
||||
|
@ -237,6 +244,7 @@ Do these in visual mode.
|
|||
| --- | --- |
|
||||
| `<C-r><C-w>` | insert current word into the command line |
|
||||
| `<C-r>"` | paste from " register |
|
||||
{: .-shortcuts}
|
||||
|
||||
### Text alignment
|
||||
|
||||
|
|
Loading…
Reference in New Issue