From 6383220fc0beeadcbb95ce11bdeb28355b52e131 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 28 Oct 2020 10:41:36 -0300 Subject: [PATCH] usar locales --- _config.yml | 3 +++ {_posts => _es}/2016-05-19-super-short-article.md | 0 _es/2016-05-20-my-example-post.md | 11 +++++++++++ {_posts => _es}/2016-05-20-super-long-article.md | 0 ...-20-this-post-demonstrates-post-content-styles.md | 0 {_posts => _es}/2016-05-20-welcome-to-jekyll.md | 0 _posts | 1 + _posts/2016-05-20-my-example-post.md | 12 ------------ sutty-base-jekyll-theme.gemspec | 3 +++ 9 files changed, 18 insertions(+), 12 deletions(-) rename {_posts => _es}/2016-05-19-super-short-article.md (100%) create mode 100644 _es/2016-05-20-my-example-post.md rename {_posts => _es}/2016-05-20-super-long-article.md (100%) rename {_posts => _es}/2016-05-20-this-post-demonstrates-post-content-styles.md (100%) rename {_posts => _es}/2016-05-20-welcome-to-jekyll.md (100%) create mode 120000 _posts delete mode 100644 _posts/2016-05-20-my-example-post.md diff --git a/_config.yml b/_config.yml index f984050..c864f98 100644 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,7 @@ plugins: - jekyll-seo-tag - jekyll-images - jekyll-include-cache +- jekyll-locales # Agregar node_modules a la lista de directorios donde SASS busca # archivos. PodrĂ­amos haber agregado solo "node_modules/bootstrap/scss" # pero querĂ­amos dejarlo abierto para poder cambiar de framework o @@ -35,3 +36,5 @@ images: - 768 - 992 - 1140 +locales: +- es diff --git a/_posts/2016-05-19-super-short-article.md b/_es/2016-05-19-super-short-article.md similarity index 100% rename from _posts/2016-05-19-super-short-article.md rename to _es/2016-05-19-super-short-article.md diff --git a/_es/2016-05-20-my-example-post.md b/_es/2016-05-20-my-example-post.md new file mode 100644 index 0000000..2ef6edc --- /dev/null +++ b/_es/2016-05-20-my-example-post.md @@ -0,0 +1,11 @@ +--- +layout: post +--- + +https://www.invidio.us/watch?v=XYHnd4boUoM + +https://www.flickr.com/photos/14345311@N07/2949720498 + +https://www.youtube.com/watch?v=p736_YShOiQ + +https://www.instagram.com/p/B0W_mgDhYNI/ diff --git a/_posts/2016-05-20-super-long-article.md b/_es/2016-05-20-super-long-article.md similarity index 100% rename from _posts/2016-05-20-super-long-article.md rename to _es/2016-05-20-super-long-article.md diff --git a/_posts/2016-05-20-this-post-demonstrates-post-content-styles.md b/_es/2016-05-20-this-post-demonstrates-post-content-styles.md similarity index 100% rename from _posts/2016-05-20-this-post-demonstrates-post-content-styles.md rename to _es/2016-05-20-this-post-demonstrates-post-content-styles.md diff --git a/_posts/2016-05-20-welcome-to-jekyll.md b/_es/2016-05-20-welcome-to-jekyll.md similarity index 100% rename from _posts/2016-05-20-welcome-to-jekyll.md rename to _es/2016-05-20-welcome-to-jekyll.md diff --git a/_posts b/_posts new file mode 120000 index 0000000..0645fc9 --- /dev/null +++ b/_posts @@ -0,0 +1 @@ +_es \ No newline at end of file diff --git a/_posts/2016-05-20-my-example-post.md b/_posts/2016-05-20-my-example-post.md deleted file mode 100644 index 145b21d..0000000 --- a/_posts/2016-05-20-my-example-post.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: post ---- - -Eos eu docendi tractatos sapientem, brute option menandri in vix, quando vivendo accommodare te ius. Nec melius fastidii constituam id, viderer theophrastus ad sit, hinc semper periculis cum id. Noluisse postulant assentior est in, no choro sadipscing repudiandae vix. Vis in euismod delenit dignissim. Ex quod nostrum sit, suas decore animal id ius, nobis solet detracto quo te. - -{% comment %} -Might you have an include in your theme? Why not try it here! -{% include my-themes-great-include.html %} -{% endcomment %} - -No laudem altera adolescens has, volumus lucilius eum no. Eam ei nulla audiam efficiantur. Suas affert per no, ei tale nibh sea. Sea ne magna harum, in denique scriptorem sea, cetero alienum tibique ei eos. Labores persequeris referrentur eos ei. diff --git a/sutty-base-jekyll-theme.gemspec b/sutty-base-jekyll-theme.gemspec index 4f29c3d..659ebe2 100644 --- a/sutty-base-jekyll-theme.gemspec +++ b/sutty-base-jekyll-theme.gemspec @@ -30,6 +30,7 @@ Gem::Specification.new do |spec| '_includes/**/*', '_sass/**/*', '_data/**/*', + '_config.yml', 'LICENSE*', 'README*'] @@ -61,8 +62,10 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency 'jekyll-images', '~> 0.2' spec.add_runtime_dependency 'jekyll-include-cache', '~> 0' spec.add_runtime_dependency 'jekyll-data', '~> 1.1' + spec.add_runtime_dependency 'jekyll-locales', '~> 0.1' # Dependencias de desarrollo spec.add_development_dependency 'bundler', '~> 2.1' spec.add_development_dependency 'rake', '~> 12.0' + spec.add_development_dependency 'pry' end