Skip to content

Commit

Permalink
Complemento ao último PR: Update .gitignore and _config.yml, create _…
Browse files Browse the repository at this point in the history
…data/social.yml and remove unused post.
  • Loading branch information
ewaldsc committed Jan 4, 2024
1 parent 8e8b7b3 commit 5c04fdc
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 44 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ public/
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
Gemfile.lock
.bundle/
vendor/
17 changes: 3 additions & 14 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
11 changes: 11 additions & 0 deletions _data/social.yml
Original file line number Diff line number Diff line change
@@ -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:[email protected]"
2 changes: 1 addition & 1 deletion _includes/social-icons.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% for social in site.social %}
{% for social in site.data.social %}
{% unless social[1] == "" %}
<a class="menu-item" href="{{ social[1] }}" target="_blank">
<i class="fa fa-{{ social[0] }} fa-1_5x" aria-hidden="true"></i>
Expand Down
29 changes: 0 additions & 29 deletions _posts/2021-10-27-welcome-to-jekyll.markdown

This file was deleted.

0 comments on commit 5c04fdc

Please sign in to comment.