my own website

librenauta 27587ebe85 fix: layouts names con es.yml 3 жил өмнө
_data 27587ebe85 fix: layouts names con es.yml 3 жил өмнө
_es 8613c10e03 fix: notas de un librenau 3 жил өмнө
_includes fa6c2dce92 fix: autoplay=false 3 жил өмнө
_layouts 78b18c11c3 fix: row for tags and date 3 жил өмнө
_packs fdb075f308 Merge remote-tracking branch 'upstream' into merge-sutty-base 4 жил өмнө
_sass d6fc861525 feat: NEW font regular and irregular <3 3 жил өмнө
assets 7bb53f7a94 fix: btn toggler background 3 жил өмнө
editorial 7b5b7a88b1 publish pictures editorial plus 3 жил өмнө
pdf 78fcb1aa8d public pdf nuestros refugios a medio armar 3 жил өмнө
public c31d41a8ba upload jockstrap ep 3 жил өмнө
.env.example f831a27223 el panel puede cambiar de lugar 4 жил өмнө
.gitattributes 0164ea245d implementar webpack-assets-manifest 5 жил өмнө
.gitignore c38ca35b75 fix: taskfile 3 жил өмнө
.sassdocrc f6c490a464 documentar css y generar sitio de documentación 5 жил өмнө
404.html 039d435edc 404 4 жил өмнө
Gemfile 47c68010a3 usar siempre el repositorio de sutty 5 жил өмнө
LICENSE.txt 71cd849b47 sutty-base-jekyll-theme 6 жил өмнө
Makefile 364c3435de Merge branch 'webpack' into 'master' 4 жил өмнө
README.md 8d86856e00 traer mejoras desde otros proyectos 5 жил өмнө
_config.yml faa6c0b1a2 fix: add cosmolab.monster rss and use_latest for post in webring 3 жил өмнө
copiona-jekyll-theme.gemspec 1bc15eec44 feat: webring! 3 жил өмнө
env.js cd44ab2a3c env.js: poner puntos y comas en variables 4 жил өмнө
fa.txt cf17b60a87 font forkawasome 4 жил өмнө
index.md 5454811b25 Sitio de prueba 6 жил өмнө
ota.sh b6caeaba4c usar flags enteras 4 жил өмнө
package.json 3ebadbcbf8 hotwired stimulus 4 жил өмнө
random.html 616cccdb91 html de randomize 4 жил өмнө
webpack.config.js d65faed9e6 configuración de webpack para sourcemaps 5 жил өмнө
webpack.prod.js bbea4c3e6b solo hashear en producción 5 жил өмнө
wget-log 6708686209 header con mas palabras 4 жил өмнө
wget-log.1 6708686209 header con mas palabras 4 жил өмнө
yarn.lock 44cf422a3e actualizar a stimulus 3 4 жил өмнө

README.md

sutty-base-jekyll-theme

CAMBIAME: Esta es una plantilla base para comenzar cualquier plantilla relacionada con Sutty, con el entorno de desarrollo que usamos según nuestro flujo de trabajo.

# Desde el directorio de trabajo
cd ~/Sutty
# Instalar sutty-cli antes de empezar
gem install sutty-cli
# Iniciar una plantilla
sutty-cli theme CAMBIAME
# Se creó el repositorio
cd CAMBIAME-jekyll-theme

Para empezar, hay que buscar y reemplazar en todos los archivos donde diga CAMBIAME.

También hay que instalar sutty.local:

# Desde el directorio de trabajo
cd ~/Sutty
# Clonar el repositorio
git clone https://0xacab.org/sutty/sutty.local.git
cd sutty.local
make all domain domain=sutty.local
cd .. # Volver al directorio de trabajo

Esto genera un certificado a nivel local que luego va a usar el servidor de desarrollo.

Desarrollo

Siempre trabajamos desde el directorio raíz del repositorio:

cd ~/Sutty/CAMBIAME-jekyll-theme

Primero hay que iniciar los servidores, antes hay que instalar el paquete nghttp2.

make serve

A partir de este momento podemos editar los archivos. Para probar lo que estamos haciendo, compilamos el sitio.

make build

Hay que hacer esto cada vez que queremos probar cambios.

Nota: No usamos jekyll serve porque entra en conflicto con algunos de nuestros complementos y los sitios grandes tardan en compilarse de todas formas.

Actualizar

Podemos traer cambios de la base:

git pull upstream master

Si hubiera conflictos, los podemos resolver con:

# Esto se hace una sola vez, cambiar vimdiff por la herramienta que
# queramos usar
git config --global mergetool.tool vimdiff
git config --global mergetool.keepBackup false

# Resolver los conflictos
git mergetool

Publicación

Para publicar la plantilla, primero hay que cambiar el nombre al archivo sutty-base-jekyll-theme.gemspec:

git mv {sutty-base,CAMBIAME}-jekyll-theme.gemspec

Cada vez que actualicemos la gema hay que editar CAMBIAME-jekyll-theme.gemspec para cambiar la versión.

Y luego para compilar y publicar la gema:

gem build CAMBIAME-jekyll-theme.gemspec
gem push CAMBIAME-VERSION.gemspec

También hay que actualizar la versión en el skel.

Installation

Add this line to your Jekyll site's Gemfile:

gem "CAMBIAME-jekyll-theme"

And add this line to your Jekyll site's _config.yml:

theme: CAMBIAME-jekyll-theme

And then execute:

$ bundle

Or install it yourself as:

$ gem install CAMBIAME-jekyll-theme

Usage

CAMBIAME

Contributing

Bug reports and pull requests are welcome on 0xacab.org at https://0xacab.org/sutty/jekyll/CAMBIAME-jekyll-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Sutty's code of conduct.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled.

To add a custom directory to your theme-gem, please edit the array in CAMBIAME-jekyll-theme.gemspec accordingly.

License

The theme is available as open source under the terms of the Antifacist MIT License.