5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 13:26:21 +00:00

fix: corregido caracteristicas de plantillas en seeds #13587

This commit is contained in:
jazzari 2023-11-30 14:47:59 +01:00
parent 7911697c21
commit 6c6801f781
2 changed files with 69 additions and 23 deletions

View file

@ -14,7 +14,7 @@
%iframe.embed-responsive-item{allowfullscreen: "", src: "/placeholder.png"} %iframe.embed-responsive-item{allowfullscreen: "", src: "/placeholder.png"}
.col .col
%h5.text-center.font-weight-bolder.pb-3= t('.characteristics') %h5.text-center.font-weight-bolder.pb-3= t('.characteristics')
- characteristics = design.characteristics.split(".") - characteristics = design.characteristics
- characteristics.each_with_index do |characteristic, index| - characteristics.each_line.with_index do |characteristic, index|
%h5 #{index + 1}. #{characteristic} %h5 #{index+1}. #{characteristic}
%a.btn.btn-primary.btn-lg.btn-block.mt-4{role: "button", href: design.url}= t('.source_code') %a.btn.btn-primary.btn-lg.btn-block.mt-4{role: "button", href: design.url}= t('.source_code')

View file

@ -7,8 +7,12 @@
description_en: "Upload your own theme. [This feature is in development, help us!](https://sutty.nl/en/#contact)" description_en: "Upload your own theme. [This feature is in development, help us!](https://sutty.nl/en/#contact)"
description_es: "Subir tu propio diseño. [Esta posibilidad está en desarrollo, ¡ayudanos!](https://sutty.nl/#contacto)" description_es: "Subir tu propio diseño. [Esta posibilidad está en desarrollo, ¡ayudanos!](https://sutty.nl/#contacto)"
priority: '0' priority: '0'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'I want you to develop a site for me' - name_en: 'I want you to develop a site for me'
name_es: 'Quiero que desarrollen mi sitio' name_es: 'Quiero que desarrollen mi sitio'
gem: 'sutty-theme-custom' gem: 'sutty-theme-custom'
@ -17,8 +21,12 @@
description_en: "If you want us to develop your site, you're welcome to [contact us!](https://sutty.nl/en/#contact) :)" description_en: "If you want us to develop your site, you're welcome to [contact us!](https://sutty.nl/en/#contact) :)"
description_es: "Si querés que desarrollemos tu sitio, [escribinos](https://sutty.nl/#contacto) :)" description_es: "Si querés que desarrollemos tu sitio, [escribinos](https://sutty.nl/#contacto) :)"
priority: '2' priority: '2'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'Minima' - name_en: 'Minima'
name_es: 'Mínima' name_es: 'Mínima'
gem: 'sutty-minima' gem: 'sutty-minima'
@ -27,8 +35,14 @@
description_es: 'Sutty Mínima es una plantilla para blogs basada en [Mínima](https://jekyll.github.io/minima/).' description_es: 'Sutty Mínima es una plantilla para blogs basada en [Mínima](https://jekyll.github.io/minima/).'
license: 'https://0xacab.org/sutty/jekyll/minima/-/blob/master/LICENSE.txt' license: 'https://0xacab.org/sutty/jekyll/minima/-/blob/master/LICENSE.txt'
priority: '100' priority: '100'
characteristics_en: "It's free. Free software - GPL licence. Distributed web compatible" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL. Compatible con la web distribuida" It's free
Free software - GPL licence
Distributed web compatible
characteristics_es: |
Es libre
Software Libre - Licencia GPL
Compatible con la web distribuida
- name_en: 'Sutty' - name_en: 'Sutty'
name_es: 'Sutty' name_es: 'Sutty'
gem: 'sutty-jekyll-theme' gem: 'sutty-jekyll-theme'
@ -39,8 +53,14 @@
credits_es: 'Sutty es parte de la economía solidaria :)' credits_es: 'Sutty es parte de la economía solidaria :)'
credits_en: 'Sutty is a solidarity economy project!' credits_en: 'Sutty is a solidarity economy project!'
priority: '90' priority: '90'
characteristics_en: "It's free. Free software - GPL licence. Distributed web compatible" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL. Compatible con la web distribuida" It's free
Free software - GPL licence
Distributed web compatible
characteristics_es: |
Es libre
Software Libre - Licencia GPL
Compatible con la web distribuida
- name_en: 'Self-managed Book Publisher' - name_en: 'Self-managed Book Publisher'
name_es: 'Editorial Autogestiva' name_es: 'Editorial Autogestiva'
gem: 'editorial-autogestiva-jekyll-theme' gem: 'editorial-autogestiva-jekyll-theme'
@ -51,8 +71,14 @@
credits_es: 'Esta plantilla fue inspirada en el trabajo de las [editoriales autogestivas](https://sutty.nl/plantillas-para-crear-cat%C3%A1logos-de-editoriales-autogestivas/)' credits_es: 'Esta plantilla fue inspirada en el trabajo de las [editoriales autogestivas](https://sutty.nl/plantillas-para-crear-cat%C3%A1logos-de-editoriales-autogestivas/)'
credits_en: 'This theme is inspired by [independent publishing projects](https://sutty.nl/en/new-template-for-publishing-projects/)' credits_en: 'This theme is inspired by [independent publishing projects](https://sutty.nl/en/new-template-for-publishing-projects/)'
priority: '50' priority: '50'
characteristics_en: "It's free. Free software - GPL licence. Distributed web compatible" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL. Compatible con la web distribuida" It's free
Free software - GPL licence
Distributed web compatible
characteristics_es: |
Es libre
Software Libre - Licencia GPL
Compatible con la web distribuida
- name_en: 'Donations' - name_en: 'Donations'
name_es: 'Donaciones' name_es: 'Donaciones'
gem: 'sutty-donaciones-jekyll-theme' gem: 'sutty-donaciones-jekyll-theme'
@ -63,8 +89,12 @@
credits_es: 'Diseñamos esta plantilla para [visibilizar campañas de donaciones](https://sutty.nl/plantilla-para-donaciones/) durante la cuarentena.' credits_es: 'Diseñamos esta plantilla para [visibilizar campañas de donaciones](https://sutty.nl/plantilla-para-donaciones/) durante la cuarentena.'
credits_en: 'We designed this theme to increase [visibility for donation requests](https://sutty.nl/template-for-donations/) during the quarantine.' credits_en: 'We designed this theme to increase [visibility for donation requests](https://sutty.nl/template-for-donations/) during the quarantine.'
priority: '80' priority: '80'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'Support campaign' - name_en: 'Support campaign'
name_es: 'Adhesiones' name_es: 'Adhesiones'
gem: 'adhesiones-jekyll-theme' gem: 'adhesiones-jekyll-theme'
@ -76,8 +106,12 @@
credits_en: 'This template was made in collaboration with Librenauta' credits_en: 'This template was made in collaboration with Librenauta'
designer_url: 'https://copiona.com/donaunbit/' designer_url: 'https://copiona.com/donaunbit/'
priority: '60' priority: '60'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'Community Radio' - name_en: 'Community Radio'
name_es: 'Radio comunitaria' name_es: 'Radio comunitaria'
gem: 'radios-comunitarias-jekyll-theme' gem: 'radios-comunitarias-jekyll-theme'
@ -89,8 +123,12 @@
credits_en: 'This template was made in collaboration with Librenauta in 15 hours!' credits_en: 'This template was made in collaboration with Librenauta in 15 hours!'
designer_url: 'https://copiona.com/donaunbit/' designer_url: 'https://copiona.com/donaunbit/'
priority: '70' priority: '70'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'Resource toolkit' - name_en: 'Resource toolkit'
name_es: 'Recursero' name_es: 'Recursero'
gem: 'recursero-jekyll-theme' gem: 'recursero-jekyll-theme'
@ -99,8 +137,12 @@
description_en: "We're working towards adding more themes for you to use. [Contact us!](https://sutty.nl/en/#contact)" description_en: "We're working towards adding more themes for you to use. [Contact us!](https://sutty.nl/en/#contact)"
description_es: "Estamos trabajando para que puedas tener más diseños. [¡Escribinos!](https://sutty.nl/#contacto)" description_es: "Estamos trabajando para que puedas tener más diseños. [¡Escribinos!](https://sutty.nl/#contacto)"
priority: '3' priority: '3'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL
- name_en: 'More themes' - name_en: 'More themes'
name_es: 'Más plantillas' name_es: 'Más plantillas'
gem: 'sutty-theme-own' gem: 'sutty-theme-own'
@ -109,5 +151,9 @@
description_en: "We're working towards adding more themes for you to use. [Contact us!](https://sutty.nl/en/#contact)" description_en: "We're working towards adding more themes for you to use. [Contact us!](https://sutty.nl/en/#contact)"
description_es: "Estamos trabajando para que puedas tener más diseños. [¡Escribinos!](https://sutty.nl/#contacto)" description_es: "Estamos trabajando para que puedas tener más diseños. [¡Escribinos!](https://sutty.nl/#contacto)"
priority: '1' priority: '1'
characteristics_en: "It's free. Free software - GPL licence" characteristics_en: |
characteristics_es: "Es libre. Software Libre - Licencia GPL" It's free
Free software - GPL licence
characteristics_es: |
Es libre
Software Libre - Licencia GPL