Merge branch 'gh-pages' into feature/webpack

* gh-pages:
  Add some redirects
  vimscript: fix link
  Further reduce preview mode
  ph-food-delivery: update desc
  Mobile scrollbars for tables
  ph-food-delivery: categorize
  ph-food-delivery: new restaurants
  ph-food-delivery: new cheatsheet
This commit is contained in:
Rico Sta. Cruz 2017-10-02 04:23:21 +08:00
commit 6ef0542fc1
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
14 changed files with 92 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{% assign identifier = include.page.url | remove: '.html' | remove_first: '/' %}
{% if site.data.disqus.enabled %}
<section class='comments-area' id='comments'>
<section class='comments-area' id='comments' data-js-no-preview>
<div class='container'>
<details class='comments-details'>
<summary>

View File

@ -11,7 +11,7 @@
| sort: "weight", "last"
%}
{% assign size = site.pages | size %}
<footer class='related-posts-area' id='related'>
<footer class='related-posts-area' id='related' data-js-no-preview>
<div class='container'>
<div class='related-posts-section'>
<div class='callout'>

View File

@ -1,4 +1,4 @@
<footer class='search-footer'>
<footer class='search-footer' data-js-no-preview>
<div class='container'>
<div class='search-footer-section'>
<div class='search'>

View File

@ -4,7 +4,7 @@ Params:
- noedit
- noback
{% endcomment %}
<nav class='top-nav'>
<nav class='top-nav' data-js-no-preview>
<div class='container'>
{% unless include.page.noback %}
<div class='left'>

View File

@ -2,6 +2,7 @@ import $ from 'jquery'
import ready from 'dom101/ready'
import remove from 'dom101/remove'
import onmount from 'onmount'
import addClass from 'dom101/add-class'
import { isPreview } from '../helpers/preview'
@ -12,5 +13,6 @@ import { isPreview } from '../helpers/preview'
onmount('[data-js-no-preview]', function (b) {
if (isPreview()) {
remove(this)
addClass(document.documentElement, 'PreviewMode')
}
})

View File

@ -38,7 +38,7 @@
</main>
</div>
<div class='pre-footer'><i class='icon'></i></div>
<div class='pre-footer' data-js-no-preview><i class='icon'></i></div>
{% include 2017/comments-area.html page=page %}
{% include 2017/search-footer.html %}

View File

@ -8,6 +8,10 @@
padding: 16px;
}
@media (max-width: 768px) {
overflow-x: auto;
}
& {
background: white;
box-shadow: $shadow3;

View File

@ -50,3 +50,11 @@
background: lighten($gray-text, 40%);
}
}
/**
* Add some space in preview mode
*/
.PreviewMode .main-heading {
margin-top: 16px;
}

View File

@ -130,3 +130,9 @@
white-space: auto;
}
}
.MarkdownBody table.-bold-first {
& tr > td:first-child {
font-weight: bold;
}
}

5
brew.md Normal file
View File

@ -0,0 +1,5 @@
---
title: Homebrew
category: Hidden
redirect_to: /homebrew
---

View File

@ -34,9 +34,10 @@ See: [H3 sections](#h3-sections-1)
### Tables
| `-shortcuts` | Shortcut keys |
| `-left-align` | Don't right align last column |
| `-bold-first` | Bold first column |
| `-headers` | Show headers |
| `-left-align` | Don't right align last column |
| `-shortcuts` | Shortcut keys |
See: [Tables](#tables-1)

5
flexbox.md Normal file
View File

@ -0,0 +1,5 @@
---
title: Flexbox
category: Hidden
redirect_to: /css-flexbox
---

53
ph-food-delivery.md Normal file
View File

@ -0,0 +1,53 @@
---
title: Food delivery (Philippines)
layout: 2017/sheet
intro: |
Food delivery numbers & sites for top restaurant chains in Metro Manila. For numbers outside Metro Manila, check their websites.
---
## Numbers
{: .-two-column}
### Western
| Restaurant | Online order | Phone |
| --- | --- | --- |
| Burger King | [burgerkingdelivery.com.ph](https://www.burgerkingdelivery.com.ph/) | `2-22-22` |
| KFC | [kfc.com.ph](https://www.kfc.com.ph) | `887-8888` |
| Kenny Rogers | [kennys.com.ph](http://kennys.com.ph/) | `555-9000` |
| McDonald's | [mcdonalds.com.ph](http://www.mcdonalds.com.ph/mcdelivery) | `8-6236` |
| Pancake House | [pancakehouse.com.ph](https://www.pancakehouse.com.ph/) | `7-9000` |
| Wendy's | [wendys.com.ph](https://wendys.com.ph/delivery/) | `533-3333` |
{: .-bold-first.-headers}
### Pizza
| Restaurant | Online order | Phone |
| --- | --- | --- |
| Angel's Pizza | [angelspizza.com.ph](http://angelspizza.com.ph/) | `922-2222` |
| Domino's | [dominospizza.ph](https://www.dominospizza.ph/) | `997-3030` |
| Greenwich | [greenwichdelivery.com](http://greenwichdelivery.com/) | `5-5555` |
| Papa John's | [papajohns.com.ph](http://papajohns.com.ph/) | `887-7272` |
| Pizza Hut | [pizzahut.com.ph](https://order.pizzahut.com.ph) | `911-1111` |
| Shakey's | [shakeyspizza.ph](http://order.shakeyspizza.ph/) | `77-7777` |
| Yellow Cab | [yellowcabpizza.com](http://delivery.yellowcabpizza.com/) | `789-9999` |
{: .-bold-first.-headers}
### Asian
| Restaurant | Online order | Phone |
| --- | --- | --- |
| Chowking | [chowkingdelivery.com](http://www.chowkingdelivery.com) | `9-8888` |
| North Park | [northparkdelivery.com](http://northparkdelivery.com/) | `7-3737` |
{: .-bold-first.-headers}
### Filipino
| Restaurant | Online order | Phone |
| --- | --- | --- |
| Goldilock's | [goldilocksdelivery.com.ph](http://www.goldilocksdelivery.com.ph/) | `888-1-999` |
| Jollibee | [jollibeedelivery.com](http://jollibeedelivery.com) | `8-7000` |
| Mang Inasal | [manginasal.com](http://www.manginasal.com/menu/) _(menu)_ | `733-1111` |
| Max's | [maxschicken.com](http://delivery.maxschicken.com/) | `7-9000` |
{: .-bold-first.-headers}

View File

@ -125,7 +125,7 @@ toupper('Hello')
```
Also see `:help functions`
See: [String functions](learnvimscriptthehardway.stevelosh.com/chapters/27.html)
See: [String functions](http://learnvimscriptthehardway.stevelosh.com/chapters/27.html)
Functions
---------