diff --git a/.gitignore b/.gitignore index 0048fb0..868fdcf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,7 @@ public/ _site/ .sass-cache/ .jekyll-cache/ +.jekyll-metadata Gemfile.lock +.bundle/ +vendor/ diff --git a/_config.yml b/_config.yml index 9a84377..50103b9 100644 --- a/_config.yml +++ b/_config.yml @@ -23,20 +23,9 @@ collections: - boletins - cursos -# Data -social: - instagram: "https://www.instagram.com/silo.arte.e.latitude.rural" - facebook: "https://www.facebook.com/silo.arte.latitude.rural" - twitter: "https://twitter.com/SiloLatitude" - flickr: "" - youtube-play: "https://www.youtube.com/channel/UCwB5vE50QX2eCVv-i795y6Q" - github: "https://github.com/associacaosilo/caipiratech" - vimeo: "" - soundcloud: "" - tumblr: "" - pinterest: "" - envelope-o: "" -twitter_user: "SiloLatitude" +# Data (twitter_user não utilizado no momento. Descomentar quando tiver o "_includes/meta.html") + # "social:" foi movido para _data/social.yml. Utilizar variável "site.data.social" em vez de "site.social" +# twitter_user: "SiloLatitude" # prose.io prose: diff --git a/_data/social.yml b/_data/social.yml new file mode 100644 index 0000000..a221858 --- /dev/null +++ b/_data/social.yml @@ -0,0 +1,11 @@ +instagram: "https://www.instagram.com/silo.arte.e.latitude.rural" +facebook: "https://www.facebook.com/silo.arte.latitude.rural" +twitter: "https://twitter.com/SiloLatitude" +# flickr: "https://www.flickr.com/photos/silolatitude" +youtube-play: "https://www.youtube.com/channel/UCwB5vE50QX2eCVv-i795y6Q" +github: "https://github.com/associacaosilo/caipiratech" +vimeo: "" +soundcloud: "" +tumblr: "" +pinterest: "" +# envelope-o: "mailto:contato@silo.org.br" \ No newline at end of file diff --git a/_includes/social-icons.html b/_includes/social-icons.html index 2cd9568..9bfdf5c 100644 --- a/_includes/social-icons.html +++ b/_includes/social-icons.html @@ -1,4 +1,4 @@ -{% for social in site.social %} +{% for social in site.data.social %} {% unless social[1] == "" %} diff --git a/_posts/2021-10-27-welcome-to-jekyll.markdown b/_posts/2021-10-27-welcome-to-jekyll.markdown deleted file mode 100644 index f137cbc..0000000 --- a/_posts/2021-10-27-welcome-to-jekyll.markdown +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: post -title: "Welcome to Jekyll!" -date: 2021-10-27 15:59:19 -0300 -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -Jekyll requires blog post files to be named according to the following format: - -`YEAR-MONTH-DAY-title.MARKUP` - -Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. - -[jekyll-docs]: https://jekyllrb.com/docs/home -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-talk]: https://talk.jekyllrb.com/