From 07914b6c787cad4fb6ccd5c1fee927298246b6a8 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Wed, 5 Apr 2017 11:11:04 -0400 Subject: [PATCH] initial migrate to hugo --- config.toml | 3 +++ {contents => content}/about.md | 0 .../post}/cocode-is-bad-code/index.md | 0 .../post}/how-to-contribute-to-open-source/index.md | 0 .../articles => content/post}/microcommits/index.md | 0 .../post}/scrum-is-life/index.md | 0 Makefile => old/Makefile | 0 config.json => old/config.json | 0 old/contents/about.md | 10 ++++++++++ {contents => old/contents}/archive.json | 0 {contents => old/contents}/authors/adam.json | 0 {contents => old/contents}/authors/brett.json | 0 {contents => old/contents}/authors/colin.json | 0 {contents => old/contents}/css/main.css | 0 old/contents/css/main.min.css | 1 + {contents => old/contents}/feed.json | 0 .../contents}/images/2000px-Scrum_process.png | Bin .../contents}/images/sprint-planning.png | Bin {contents => old/contents}/images/triangles.jpg | Bin package.json => old/package.json | 0 {plugins => old/plugins}/paginator.coffee | 0 {templates => old/templates}/archive.jade | 0 {templates => old/templates}/article.jade | 0 {templates => old/templates}/author.jade | 0 {templates => old/templates}/feed.jade | 0 {templates => old/templates}/index.jade | 0 {templates => old/templates}/layout.jade | 0 {templates => old/templates}/mixins/disqus.jade | 0 28 files changed, 14 insertions(+) create mode 100644 config.toml rename {contents => content}/about.md (100%) rename {contents/articles => content/post}/cocode-is-bad-code/index.md (100%) rename {contents/articles => content/post}/how-to-contribute-to-open-source/index.md (100%) rename {contents/articles => content/post}/microcommits/index.md (100%) rename {contents/articles => content/post}/scrum-is-life/index.md (100%) rename Makefile => old/Makefile (100%) rename config.json => old/config.json (100%) create mode 100644 old/contents/about.md rename {contents => old/contents}/archive.json (100%) rename {contents => old/contents}/authors/adam.json (100%) rename {contents => old/contents}/authors/brett.json (100%) rename {contents => old/contents}/authors/colin.json (100%) rename {contents => old/contents}/css/main.css (100%) create mode 100644 old/contents/css/main.min.css rename {contents => old/contents}/feed.json (100%) rename {contents => old/contents}/images/2000px-Scrum_process.png (100%) rename {contents => old/contents}/images/sprint-planning.png (100%) rename {contents => old/contents}/images/triangles.jpg (100%) rename package.json => old/package.json (100%) rename {plugins => old/plugins}/paginator.coffee (100%) rename {templates => old/templates}/archive.jade (100%) rename {templates => old/templates}/article.jade (100%) rename {templates => old/templates}/author.jade (100%) rename {templates => old/templates}/feed.jade (100%) rename {templates => old/templates}/index.jade (100%) rename {templates => old/templates}/layout.jade (100%) rename {templates => old/templates}/mixins/disqus.jade (100%) diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..9861900 --- /dev/null +++ b/config.toml @@ -0,0 +1,3 @@ +languageCode = "en-us" +title = "The Worst Programmer Ever" +baseURL = "https://theworstprogrammerever.com" diff --git a/contents/about.md b/content/about.md similarity index 100% rename from contents/about.md rename to content/about.md diff --git a/contents/articles/cocode-is-bad-code/index.md b/content/post/cocode-is-bad-code/index.md similarity index 100% rename from contents/articles/cocode-is-bad-code/index.md rename to content/post/cocode-is-bad-code/index.md diff --git a/contents/articles/how-to-contribute-to-open-source/index.md b/content/post/how-to-contribute-to-open-source/index.md similarity index 100% rename from contents/articles/how-to-contribute-to-open-source/index.md rename to content/post/how-to-contribute-to-open-source/index.md diff --git a/contents/articles/microcommits/index.md b/content/post/microcommits/index.md similarity index 100% rename from contents/articles/microcommits/index.md rename to content/post/microcommits/index.md diff --git a/contents/articles/scrum-is-life/index.md b/content/post/scrum-is-life/index.md similarity index 100% rename from contents/articles/scrum-is-life/index.md rename to content/post/scrum-is-life/index.md diff --git a/Makefile b/old/Makefile similarity index 100% rename from Makefile rename to old/Makefile diff --git a/config.json b/old/config.json similarity index 100% rename from config.json rename to old/config.json diff --git a/old/contents/about.md b/old/contents/about.md new file mode 100644 index 0000000..60c5556 --- /dev/null +++ b/old/contents/about.md @@ -0,0 +1,10 @@ +--- +view: none +--- + +
This work +is licensed under a Creative Commons +Attribution-ShareAlike 4.0 International License. diff --git a/contents/archive.json b/old/contents/archive.json similarity index 100% rename from contents/archive.json rename to old/contents/archive.json diff --git a/contents/authors/adam.json b/old/contents/authors/adam.json similarity index 100% rename from contents/authors/adam.json rename to old/contents/authors/adam.json diff --git a/contents/authors/brett.json b/old/contents/authors/brett.json similarity index 100% rename from contents/authors/brett.json rename to old/contents/authors/brett.json diff --git a/contents/authors/colin.json b/old/contents/authors/colin.json similarity index 100% rename from contents/authors/colin.json rename to old/contents/authors/colin.json diff --git a/contents/css/main.css b/old/contents/css/main.css similarity index 100% rename from contents/css/main.css rename to old/contents/css/main.css diff --git a/old/contents/css/main.min.css b/old/contents/css/main.min.css new file mode 100644 index 0000000..a890bb4 --- /dev/null +++ b/old/contents/css/main.min.css @@ -0,0 +1 @@ +a,blockquote,body,h1,h2,h3,h4,h5,h6,img,ol,p,pre,ul{margin:0;padding:0;border:0}body{font-family:Lora,serif;font-size:21px;line-height:1.52;background-color:#f8f8f8;text-rendering:optimizeLegibility}.content-wrap{width:34em;margin:0 auto}a,body{color:#171717}a:hover{color:#ff8000;text-decoration:underline}p{margin-bottom:1.52em}pre{font-size:.9em;overflow:auto;background:#fff;border:1px dashed #d2d2d2;border-radius:.25em;margin-bottom:1.8em;padding:1em}h1{font-size:2em;margin-bottom:1em}h2{font-size:1.2em;font-weight:600;line-height:1.43;margin-bottom:1.35em}h3{font-style:italic;text-align:center;font-weight:400;font-size:1.4em;margin-top:1.8em;margin-bottom:.8em}ol,ul{margin:0 1.4em 1.4em 4em}li{margin-bottom:.5em}blockquote{margin:1.2em 3em;padding-left:1em;font-style:italic}hr{border:0;border-top:1px dashed #d2d2d2;height:0;margin:1.6em 0}.header{margin:3em 0 5em}.header .title,.header h1{font-size:2em;text-align:center;font-weight:700;margin:0}.header a,.header a:hover{text-decoration:none;color:#171717}.header .author{font-family:Merriweather,serif;font-variant:small-caps;text-transform:lowercase;text-rendering:auto;text-align:center;font-weight:400;letter-spacing:1px}.header .description{font-size:1.2em;font-style:italic;text-align:center;margin-top:-.3em}body.article-detail>header h1{font-size:2em;font-style:italic;font-weight:400;margin-bottom:-.2em}body.article-detail>header{margin-bottom:3em}footer{margin:3em 0}footer .nav{text-align:center;margin-top:1em;margin-bottom:1em}footer .nav a{padding:0 .5em;font-size:1.2em;text-decoration:none}footer .about{font-size:.7em;text-align:center}footer .copy{text-align:center;font-size:.7em;font-style:italic;margin-top:1em}footer .copy,footer .copy a{color:#8e8e8e}.article{margin:3em 0 4em}.article header{border-top:1px dashed #d2d2d2}.article header h2{font-style:italic;text-align:center;font-weight:400;margin:.8em 0;font-size:1.4em}.article header h2 a{text-decoration:none}.article header .date{text-align:center;font-size:.8em;margin-top:-.7em}.article header .date span{background-color:#f8f8f8;padding:0 .7em}.article.intro .content p{display:inline}.article.intro .content .more{text-decoration:underline;font-weight:700;padding-left:.3em}.article .content img{display:block;width:100%}.date,.more{font-family:Merriweather,serif;font-variant:small-caps;text-transform:lowercase;font-weight:400;text-rendering:auto;letter-spacing:1px}.archive{width:32em;margin:5em auto 6em;padding-left:2em}.archive h2{font-size:2em;margin:0 0 .5em 6.1em;font-style:italic}.archive a,.archive span{display:block;float:left;margin-bottom:-1px;text-decoration:none}.archive li:not(:last-child){border-bottom:1px solid #d2d2d2;margin-bottom:-1px}.archive a.last,.archive span.last{border:0;margin-bottom:0}.archive a{width:21em;text-indent:1em;white-space:nowrap}.archive .month-label,.archive .year-label{width:4em;font-family:Merriweather,serif;font-variant:small-caps;text-transform:lowercase;font-weight:400;text-rendering:auto;letter-spacing:1px;text-align:center}.archive .month-label{width:7em}.archive ul{list-style:none;margin:0}.archive ul li{margin:0}code{font-family:'Anonymous Pro',monospace;font-size:.85em;color:#000}pre code{display:block;line-height:1.1}p code{padding:.1em .3em .2em;border-radius:.3em;position:relative;background:#fffff3;white-space:nowrap}code.lang-markdown{color:#424242}code.lang-markdown .header,code.lang-markdown .strong{font-weight:700}code.lang-markdown .emphasis{font-style:italic}code.lang-markdown .code,code.lang-markdown .header,code.lang-markdown .horizontal_rule,code.lang-markdown .link_label,code.lang-markdown .link_url{color:#555}code.lang-markdown .blockquote,code.lang-markdown .bullet{color:#bbb}.tomorrow-comment,pre .comment,pre .title{color:#8e908c}.tomorrow-red,pre .attribute,pre .css .class,pre .css .id,pre .css .pseudo,pre .html .doctype,pre .regexp,pre .ruby .constant,pre .tag,pre .variable,pre .xml .doctype,pre .xml .pi,pre .xml .tag .title{color:#c82829}.tomorrow-orange,pre .built_in,pre .constant,pre .literal,pre .number,pre .params,pre .preprocessor{color:#f5871f}.tomorrow-yellow,pre .class,pre .css .rules .attribute,pre .ruby .class .title{color:#eab700}.tomorrow-green,pre .header,pre .inheritance,pre .ruby .symbol,pre .string,pre .value,pre .xml .cdata{color:#718c00}.tomorrow-aqua,pre .css .hexcolor{color:#3e999f}.tomorrow-blue,pre .coffeescript .title,pre .function,pre .javascript .title,pre .perl .sub,pre .python .decorator,pre .python .title,pre .ruby .function .title,pre .ruby .title .keyword{color:#4271ae}.tomorrow-purple,pre .javascript .function,pre .keyword{color:#8959a8}@media (min-width:1600px){body{font-size:26px}}@media (max-width:900px){body{font-size:18px}}@media (max-width:690px){.content-wrap{width:auto;padding:0 1em}.header{margin:1em 0}.header h1{font-size:1.4em;margin-bottom:.6em}.header .description{font-size:1em}.article{margin:1em 0 2.5em}.archive{width:80%;margin:0 auto}.archive *{float:none!important;line-height:1.6!important;width:auto!important;height:auto!important;text-align:left!important;border:0!important;margin:0!important}footer .nav{margin:1em 0}footer .about{padding:1.6em 0 0;font-size:.9em;-webkit-column-count:1;-moz-column-count:1;-ms-column-count:1;column-count:1}footer .about p{margin-bottom:1em}} \ No newline at end of file diff --git a/contents/feed.json b/old/contents/feed.json similarity index 100% rename from contents/feed.json rename to old/contents/feed.json diff --git a/contents/images/2000px-Scrum_process.png b/old/contents/images/2000px-Scrum_process.png similarity index 100% rename from contents/images/2000px-Scrum_process.png rename to old/contents/images/2000px-Scrum_process.png diff --git a/contents/images/sprint-planning.png b/old/contents/images/sprint-planning.png similarity index 100% rename from contents/images/sprint-planning.png rename to old/contents/images/sprint-planning.png diff --git a/contents/images/triangles.jpg b/old/contents/images/triangles.jpg similarity index 100% rename from contents/images/triangles.jpg rename to old/contents/images/triangles.jpg diff --git a/package.json b/old/package.json similarity index 100% rename from package.json rename to old/package.json diff --git a/plugins/paginator.coffee b/old/plugins/paginator.coffee similarity index 100% rename from plugins/paginator.coffee rename to old/plugins/paginator.coffee diff --git a/templates/archive.jade b/old/templates/archive.jade similarity index 100% rename from templates/archive.jade rename to old/templates/archive.jade diff --git a/templates/article.jade b/old/templates/article.jade similarity index 100% rename from templates/article.jade rename to old/templates/article.jade diff --git a/templates/author.jade b/old/templates/author.jade similarity index 100% rename from templates/author.jade rename to old/templates/author.jade diff --git a/templates/feed.jade b/old/templates/feed.jade similarity index 100% rename from templates/feed.jade rename to old/templates/feed.jade diff --git a/templates/index.jade b/old/templates/index.jade similarity index 100% rename from templates/index.jade rename to old/templates/index.jade diff --git a/templates/layout.jade b/old/templates/layout.jade similarity index 100% rename from templates/layout.jade rename to old/templates/layout.jade diff --git a/templates/mixins/disqus.jade b/old/templates/mixins/disqus.jade similarity index 100% rename from templates/mixins/disqus.jade rename to old/templates/mixins/disqus.jade