Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
let lastSelectedText; | |
const SLACK_HOOK_URL = 'URL TO INCOMING HOOK'; | |
$(document).keydown(e => { | |
if ((e.keyCode == 10 || e.keyCode == 13) && e.ctrlKey) { | |
const selectedText = utils.getSelectionText(); | |
if ( | |
lastSelectedText === selectedText || | |
selectedText.replace(/ /g, '') === '' | |
) { | |
console.warn('Текст не выделен или это повторная ошибка'); |
<section id="archive"> | |
<h3>This year's posts</h3> | |
{%for post in site.posts %} | |
{% unless post.next %} | |
<ul class="this"> | |
{% else %} | |
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} | |
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} | |
{% if year != nyear %} | |
</ul> |
This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}