From 5cb9f6865a93437f28baf61ba5dda4bdc8f00a64 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Sat, 4 Mar 2017 02:43:37 -0600 Subject: [PATCH] Add twitter row and dummy text for homepage features --- content/about-hugo/_index.md | 2 +- content/getting-started/installing.md | 2 +- data/homepagefeatures.toml | 29 + data/{references.toml => homepagetweets.toml} | 68 +- .../partials/homepage/homepage-content.html | 25 +- .../partials/homepage/homepage-features.html | 8 + .../partials/homepage/homepage-header.html | 2 +- .../partials/homepage/homepage-tweets.html | 7 +- layouts/partials/site-footer.html | 2 +- pipeline/scss/abstracts/_animate.scss | 3340 ----------------- pipeline/scss/pages/_homepage.scss | 140 +- pipeline/scss/style.scss | 4 +- .../scss/vendor/_animatecss-truncated.scss | 132 + static/css/style.min.css | 8 +- static/js/homepage.js | 8 + 15 files changed, 356 insertions(+), 3421 deletions(-) create mode 100644 data/homepagefeatures.toml rename data/{references.toml => homepagetweets.toml} (81%) create mode 100644 layouts/partials/homepage/homepage-features.html delete mode 100644 pipeline/scss/abstracts/_animate.scss create mode 100644 pipeline/scss/vendor/_animatecss-truncated.scss diff --git a/content/about-hugo/_index.md b/content/about-hugo/_index.md index 8bfa351d1..1a932f989 100644 --- a/content/about-hugo/_index.md +++ b/content/about-hugo/_index.md @@ -9,6 +9,6 @@ categories: [] tags: [] weight: 01 draft: false -aliases: [] +aliases: [/docs/] toc: false --- \ No newline at end of file diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index 6364080ec..da712ea8d 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -10,7 +10,7 @@ authors: ["Michael Henderson"] tags: [install,fundamentals,pc,windows,linux,mac,osx,binary,tarball] weight: 30 draft: false -aliases: [/tutorials/installing-on-windows/,/tutorials/installing-on-mac/,/overview/installing/,/getting-started/install,/install/,/docs/] +aliases: [/tutorials/installing-on-windows/,/tutorials/installing-on-mac/,/overview/installing/,/getting-started/install,/install/] toc: true --- diff --git a/data/homepagefeatures.toml b/data/homepagefeatures.toml new file mode 100644 index 000000000..0111de865 --- /dev/null +++ b/data/homepagefeatures.toml @@ -0,0 +1,29 @@ +[[feature]] + name = "Unparalleled Speed" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 1 + +[[feature]] + name = "Markdown without Limits" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 2 + +[[feature]] + name = "Robust Content Management" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 3 + +[[feature]] + name = "True Universality" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 4 + +[[feature]] + name = "Feature 5" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 5 + +[[feature]] + name = "Feature 6" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis dolor maiores officia officiis nemo voluptate hic necessitatibus debitis, vel ad ipsa temporibus aperiam architecto, molestiae, nulla minus corrupti iusto magni." + order = 6 \ No newline at end of file diff --git a/data/references.toml b/data/homepagetweets.toml similarity index 81% rename from data/references.toml rename to data/homepagetweets.toml index 12da7004b..4d8cea833 100644 --- a/data/references.toml +++ b/data/homepagetweets.toml @@ -1,207 +1,207 @@ -[[quotes]] +[[tweet]] name = "Hans Beck" twitter_handle = "@EnrichedGamesHB" -quote = "Diving deeper into @GoHugoIO . A lot of docs there, top work! But I've the impressed that #gohugo is far easier than its feels from the docs!" +quote = "Diving deeper into @GoHugoIO. A lot of docs there, top work! But I've the impressed that #gohugo is far easier than its feels from the docs!" link = "https://twitter.com/EnrichedGamesHB/status/836854762440130560" date = 2017-03-01T00:00:00Z -[[quotes]] +[[tweet]] name = "Alan Richardson" twitter_handle = "@eviltester" -quote = "I migrated the @BlackOpsTesting .com website from docpad to Hugo last weekend. http://gohugo.io/ Super Fast HTML Generation @spf13 " +quote = "I migrated the @BlackOpsTesting .com website from docpad to Hugo last weekend. http://gohugo.io/ Super Fast HTML Generation @spf13 " link = "https://twitter.com/eviltester/status/553520335115808768" date = 2015-01-09T00:00:00Z -[[quotes]] +[[tweet]] name = "Janez Čadež‏" twitter_handle = "@jamziSLO" -quote = "Building @garazaFRI website in #hugo. This static site generator is soooo damn fast!" +quote = "Building @garazaFRI website in #hugo. This static site generator is soooo damn fast! #gohugo #golang" link = "https://twitter.com/jamziSLO/status/817720283977183234" date = 2017-01-07T00:00:00Z -[[quotes]] +[[tweet]] name = "Execute‏‏" twitter_handle = "@executerun" -quote = "Hah, #gohugo. I was working with #gohugo on #linux but now I realised how easy is to set-up it on #windows. Just need to add binary to #path!" +quote = "Hah, #gohugo. I was working with #gohugo on #linux but now I realised how easy is to set-up it on #windows. Just need to add binary to #path!" link = "https://twitter.com/executerun/status/809753145270272005" date = 2016-12-16T00:00:00Z -[[quotes]] +[[tweet]] name = "Baron Schwartz" twitter_handle = "@xaprb" quote = "Hugo is impressively capable. It's a static site generator by @spf13 written in #golang . Just upgraded to latest release; very powerful. " link = "https://twitter.com/xaprb/status/556894866488455169" date = 2015-01-18T00:00:00Z -[[quotes]] +[[tweet]] name = "Dave Cottlehuber" twitter_handle = "@dch__" quote = "I just fell in love with #hugo, a static site/blog engine written by @spf13 in #golang + stellar docs" link = "https://twitter.com/dch__/status/460158115498176512" date = 2014-04-26T00:00:00Z -[[quotes]] +[[tweet]] name = "David Caunt" twitter_handle = "@dcaunt" quote = "I had a play with Hugo and it was good, uses Markdown files for content" link = "https://twitter.com/dcaunt/statuses/406466996277374976" date = 2013-11-29T00:00:00Z -[[quotes]] +[[tweet]] name = "David Gay" twitter_handle = "@oddshocks" quote = "Hugo is super-rad." link = "https://twitter.com/oddshocks/statuses/405083217893421056" date = 2013-11-25T00:00:00Z -[[quotes]] +[[tweet]] name = "Diti" twitter_handle = "@DitiPengi" quote = "The dev version of Hugo is AWESOME! <3 I promise, I will try to learn go ASAP and help contribute to the project! Just too great!" link = "https://twitter.com/DitiPengi/status/472470974051676160" date = 2014-05-30T00:00:00Z -[[quotes]] +[[tweet]] name = "Douglas Stephen " twitter_handle = "@DougStephenJr" quote = "Even as a long-time Octopress fan, I’ve gotta admit that this project Hugo looks very very cool" link = "https://twitter.com/DougStephenJr/statuses/364512471660249088" date = 2013-08-05T00:00:00Z -[[quotes]] +[[tweet]] name = "Hugo Rodger-Brown" twitter_handle = "@hugorodgerbrown" quote = "Finally someone builds me my own static site generator" link = "https://twitter.com/hugorodgerbrown/statuses/364417910153818112" date = 2013-05-08T00:00:00Z -[[quotes]] +[[tweet]] name = "Hugo Roy" twitter_handle = "@hugoroyd" quote = "Finally the answer to the question my parents have been asking: What does Hugo do?" link = "https://twitter.com/hugoroyd/status/501704796727173120" date = 2014-08-19T00:00:00Z -[[quotes]] +[[tweet]] name = "Daniel Miessler" twitter_handle = "@DanielMiessler" quote = "Websites for named vulnerabilities should run on static site generator platforms like Hugo. Read-only + burst traffic = static." link = "https://twitter.com/DanielMiessler/status/704703841673957376" date = 2016-03-01T00:00:00Z -[[quotes]] +[[tweet]] name = "Javier Segura" twitter_handle = "@jsegura" quote = "Another site generated with Hugo here! I'm getting in love with it." link = "https://twitter.com/jsegura/status/465978434154659841" date = 2014-05-12T00:00:00Z -[[quotes]] +[[tweet]] name = "Jim Biancolo" twitter_handle = "@jimbiancolo" quote = "I’m loving the static site generator renaissance we are currently enjoying. Hugo is new, looks great, written in Go" link = "https://twitter.com/jimbiancolo/statuses/408678420348813314" date = 2013-05-12T00:00:00Z -[[quotes]] +[[tweet]] name = "Jip J. Dekker" twitter_handle = "@jipjdekker" quote = "Building a personal website in Hugo. Works like a charm. And written in @golang!" link = "https://twitter.com/jipjdekker/status/413783548735152131" date = 2013-12-19T00:00:00Z -[[quotes]] +[[tweet]] name = "Jose Gonzalvo" twitter_handle = "@jgonzalvo" quote = "Checking out Hugo; Loving it so far. Like Jekyll but not so blog-oriented and written in go" link = "https://twitter.com/jgonzalvo/statuses/408177855819173888" date = 2013-12-04T00:00:00Z -[[quotes]] +[[tweet]] name = "Josh Matz" twitter_handle = "@joshmatz" quote = "A static site generator without the long build times? Yes, please!" link = "https://twitter.com/joshmatz/statuses/364437436870696960" date = 2013-08-05T00:00:00Z -[[quotes]] +[[tweet]] name = "Kieran Healy" twitter_handle = "@kjhealy" quote = "OK, so in today's speed battle of static site generators, @spf13's hugo is kicking everyone's ass, by miles." link = "https://twitter.com/kjhealy/status/437349384809115648" date = 2014-02-22T00:00:00Z -[[quotes]] +[[tweet]] name = "Ludovic Chabant" twitter_handle = "@ludovicchabant" quote = "Good work on Hugo, I’m impressed with the speed!" link = "https://twitter.com/ludovicchabant/statuses/408806199602053120" date = 2013-12-06T00:00:00Z -[[quotes]] +[[tweet]] name = "Luke Holder" twitter_handle = "@lukeholder" quote = "this is AWESOME. a single little executable and so fast." link = "https://twitter.com/lukeholder/status/430352287936946176" date = 2014-02-03T00:00:00Z -[[quotes]] +[[tweet]] name = "Markus Eliasson" twitter_handle = "@markuseliasson" quote = "Hugo is fast, dead simple to setup and well documented" link = "https://twitter.com/markuseliasson/status/501594865877008384" date = 2014-08-19T00:00:00Z -[[quotes]] +[[tweet]] name = "mercime" twitter_handle = "@mercime_one" quote = "Hugo: Makes the Web Fun Again" link = "https://twitter.com/mercime_one/status/500547145087205377" date = 2014-08-16T00:00:00Z -[[quotes]] +[[tweet]] name = "Michael Whatcott" twitter_handle = "@mdwhatcott" quote = "One more satisfied #Hugo blogger. Thanks @spf13 and friends!" link = "https://twitter.com/mdwhatcott/status/469980686531571712" date = 2014-05-23T00:00:00Z -[[quotes]] +[[tweet]] name = "Nathan Toups" twitter_handle = "@rojoroboto" quote = "I love Hugo! My site is generated with it now http://rjrbt.io" link = "https://twitter.com/rojoroboto/status/423439915620106242" date = 2014-01-15T00:00:00Z -[[quotes]] +[[tweet]] name = "Ruben Solvang" twitter_handle = "@messo85" quote = "#Hugo is the new @jekyllrb / @middlemanapp! Faster, easier and runs everywhere." link = "https://twitter.com/messo85/status/472825062027182081" date = 2014-05-31T00:00:00Z -[[quotes]] +[[tweet]] name = "Ryan Martinsen" twitter_handle = "@popthestack" quote = "Also, I re-launched my blog (it looks the same as before) using Hugo, a *fast* static engine. Very happy with it. gohugo.io" link = "https://twitter.com/popthestack/status/549972754125307904" date = 2014-12-30T00:00:00Z -[[quotes]] +[[tweet]] name = "The Lone Cuber" twitter_handle = "@TheLoneCuber" quote = "Jekyll is dead to me these days though... long live Hugo! Hugo is *by far* the best in its field. Thanks for making it happen." link = "https://twitter.com/TheLoneCuber/status/495716684456398848" date = 2014-08-02T00:00:00Z -[[quotes]] +[[tweet]] name = "The Lone Cuber" twitter_handle = "@TheLoneCuber" quote = "Finally, a publishing platform that's a joy to use. #NoMoreBarriers" link = "https://twitter.com/TheLoneCuber/status/495731334711488512" date = 2014-08-02T00:00:00Z -[[quotes]] +[[tweet]] name = "WorkHTML" twitter_handle = "@workhtml" quote = " #Hugo A very good alternative for #wordpress !!! A fast and modern static website engine gohugo.io " diff --git a/layouts/partials/homepage/homepage-content.html b/layouts/partials/homepage/homepage-content.html index 290a25c83..9d3fabaa5 100644 --- a/layouts/partials/homepage/homepage-content.html +++ b/layouts/partials/homepage/homepage-content.html @@ -26,15 +26,28 @@

Forget databases, security updates, and cofee breaks spent waiting for your site to rebuild.

-

Golang's speed combined with markdown's elegant simplicity mean Hugo's the first static site generator fast enough to keep up with your creativity.

+

Golang's speed combined with markdown's elegant simplicity mean Hugo is the first static site generator fast enough to keep up with your creativity.

-
-

What Makes Hugo Special

+
+
+

What Makes Hugo Special?

+ {{ partial "homepage/homepage-features" . }} +
-
-

See what others are saying about Hugo

- {{ partial "homepage/homepage-tweets.html" . }} +
+
+

See what others are saying about Hugo...

+ {{ partial "homepage/homepage-tweets.html" . }} +
+
+
+
+
+ +
+

Hugo is open source and completely free.

+
diff --git a/layouts/partials/homepage/homepage-features.html b/layouts/partials/homepage/homepage-features.html new file mode 100644 index 000000000..8d00a58c0 --- /dev/null +++ b/layouts/partials/homepage/homepage-features.html @@ -0,0 +1,8 @@ +{{ range sort $.Site.Data.homepagefeatures.feature "order" }} +
+

{{.name}}

+
+ {{.description}} +
+
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/homepage/homepage-header.html b/layouts/partials/homepage/homepage-header.html index 7485fcfb9..b1c8d2837 100644 --- a/layouts/partials/homepage/homepage-header.html +++ b/layouts/partials/homepage/homepage-header.html @@ -1,7 +1,7 @@