diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..9979c5ea6 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +devhints.io diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cf17429b7..10e2940fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ make ## CSS classes -See for a reference on styling. +See for a reference on styling. ## Frontmatter diff --git a/README.md b/README.md index f9226cc50..4606437a7 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# Rico's cheatsheets +# Devhints -> Collection of web development cheatsheets +> TL;DR for developer documentation - a ridiculous collection of cheatsheets

- +
-✨ ricostacruz.com/cheatsheets ✨ +✨ devhints.io


diff --git a/_config.yml b/_config.yml index 73e1bda33..33bdcbc8e 100644 --- a/_config.yml +++ b/_config.yml @@ -50,8 +50,8 @@ defaults: # Site info -url: http://ricostacruz.com/cheatsheets -title: Cheatsheets +url: https://devhints.io +title: Devhints # GitHub metadata # https://help.github.com/articles/repository-metadata-on-github-pages/ diff --git a/_data/content.yml b/_data/content.yml index e37bbcea3..c9d9c4c05 100644 --- a/_data/content.yml +++ b/_data/content.yml @@ -1,9 +1,10 @@ home: title: "Rico's cheatsheets" - tagline: "Hey! I'm @rstacruz and this is a modest collection of cheatsheets I've written." + tagline: | + Hey! I'm @rstacruz and this is a modest collection of cheatsheets I've written. top_nav: - title: Devhints + title: Devhints.io edit: Edit edit_on_github: Edit this page on GitHub @@ -18,7 +19,7 @@ social_list: related_posts_callout: description: Over SIZE curated cheatsheets, by developers for developers. - link: Cheatsheets home + link: Devhints home related_posts_group: top: Top cheatsheets @@ -38,3 +39,9 @@ not_found: title: Not found description: Sorry, we don't have a cheatsheet for this yet. Try searching! home: Back to home + +announcement: + id: 2017-09-25-devhints-io + title: New URL 🎉 + body: | + Hey, ricostacruz.com/cheatsheets is moving to devhints.io! Same content with a shorter and easier to remember URL. diff --git a/_data/google_analytics.yml b/_data/google_analytics.yml index f4a85f409..b8f12bb39 100644 --- a/_data/google_analytics.yml +++ b/_data/google_analytics.yml @@ -1,3 +1,3 @@ enabled: true -hostname: ricostacruz.com -id: "UA-20473929-1" +hostname: devhints.io +id: "UA-106902774-1" diff --git a/_drafts/ansible.md b/_inactive/ansible.md similarity index 100% rename from _drafts/ansible.md rename to _inactive/ansible.md diff --git a/_drafts/deprecated/PHP_Kohana.ctxt b/_inactive/deprecated/PHP_Kohana.ctxt similarity index 100% rename from _drafts/deprecated/PHP_Kohana.ctxt rename to _inactive/deprecated/PHP_Kohana.ctxt diff --git a/_drafts/deprecated/Rails_2.ctxt b/_inactive/deprecated/Rails_2.ctxt similarity index 100% rename from _drafts/deprecated/Rails_2.ctxt rename to _inactive/deprecated/Rails_2.ctxt diff --git a/_drafts/deprecated/cinema4d.md b/_inactive/deprecated/cinema4d.md similarity index 100% rename from _drafts/deprecated/cinema4d.md rename to _inactive/deprecated/cinema4d.md diff --git a/_drafts/deprecated/compass-sprites.md b/_inactive/deprecated/compass-sprites.md similarity index 100% rename from _drafts/deprecated/compass-sprites.md rename to _inactive/deprecated/compass-sprites.md diff --git a/_drafts/deprecated/docker-osx.md b/_inactive/deprecated/docker-osx.md similarity index 100% rename from _drafts/deprecated/docker-osx.md rename to _inactive/deprecated/docker-osx.md diff --git a/_drafts/deprecated/eslint.md b/_inactive/deprecated/eslint.md similarity index 100% rename from _drafts/deprecated/eslint.md rename to _inactive/deprecated/eslint.md diff --git a/_drafts/deprecated/github.md b/_inactive/deprecated/github.md similarity index 100% rename from _drafts/deprecated/github.md rename to _inactive/deprecated/github.md diff --git a/_drafts/deprecated/jquery-mobile-events.md b/_inactive/deprecated/jquery-mobile-events.md similarity index 100% rename from _drafts/deprecated/jquery-mobile-events.md rename to _inactive/deprecated/jquery-mobile-events.md diff --git a/_drafts/gh.md b/_inactive/gh.md similarity index 100% rename from _drafts/gh.md rename to _inactive/gh.md diff --git a/_misc/git-one-liners.md b/_inactive/git-one-liners.md similarity index 100% rename from _misc/git-one-liners.md rename to _inactive/git-one-liners.md diff --git a/_drafts/gpg.md b/_inactive/gpg.md similarity index 100% rename from _drafts/gpg.md rename to _inactive/gpg.md diff --git a/_drafts/homebrew-formula.md b/_inactive/homebrew-formula.md similarity index 100% rename from _drafts/homebrew-formula.md rename to _inactive/homebrew-formula.md diff --git a/extras/ios.md b/_inactive/ios.md similarity index 100% rename from extras/ios.md rename to _inactive/ios.md diff --git a/_includes/2017/announcements-list.html b/_includes/2017/announcements-list.html new file mode 100644 index 000000000..9e9711f52 --- /dev/null +++ b/_includes/2017/announcements-list.html @@ -0,0 +1,10 @@ +{% if site.data.content.announcement %} +
+
+

{{ site.data.content.announcement.title }}

+
{{ site.data.content.announcement.body }}
+ +
+
+{% endif %} + diff --git a/_includes/2017/code-sponsor.html b/_includes/2017/code-sponsor.html index f30c42d06..3234d0f5d 100644 --- a/_includes/2017/code-sponsor.html +++ b/_includes/2017/code-sponsor.html @@ -4,7 +4,7 @@ if (window.localStorage && window.localStorage._NOADS) return var s=d.createElement('script'),r=d.getElementById(id) s.async=true - s.src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=330' + s.src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=319' setTimeout(function(){r.parentNode.insertBefore(s,r)}) })(document, 'code-sponsor-embed') diff --git a/_includes/2017/head.html b/_includes/2017/head.html index 4cf08fb08..c0f538a41 100644 --- a/_includes/2017/head.html +++ b/_includes/2017/head.html @@ -6,15 +6,15 @@ - - + + {% for lang in page.prism_languages %} - {% endfor %} - + {% endfor %} + - - + + {% comment %} diff --git a/_includes/2017/search-form.html b/_includes/2017/search-form.html index f3f705842..acc46d274 100644 --- a/_includes/2017/search-form.html +++ b/_includes/2017/search-form.html @@ -2,10 +2,8 @@ {% if include.live %}data-js-search-form{% endif %} class='search' action='{{ base }}' method='get'>