diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml deleted file mode 100644 index 1f74904..0000000 --- a/.github/workflows/jekyll.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Jekyll site CI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - name: GitHub Checkout - uses: actions/checkout@v1 - - name: Bundler Cache - uses: actions/cache@v1 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - name: Build & Deploy to GitHub Pages - uses: joshlarsen/jekyll4-deploy-gh-pages@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} - GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} - - name: Rsync the build - uses: Pendect/action-rsyncer@v1.1.0 - env: - DEPLOY_KEY: ${{secrets.DEPLOY_KEY}} - with: - src: _site/ - # Remote server and path. i.e user@server.com:/var/www/server.com/ - dest: nnieto@opal3.opalstack.com:/home/nnieto/apps/blog_noenieto_com/ - - name: Display status from deploy - run: echo "${{ steps.deploy.outputs.status }}" diff --git a/Gemfile b/Gemfile index ca0fe2d..3472df5 100644 --- a/Gemfile +++ b/Gemfile @@ -11,4 +11,7 @@ group :jekyll_plugins do gem 'jekyll-remote-theme' gem 'jekyll-paginate' gem 'jekyll-timeago' + gem 'jekyll-thumbnail-img' + gem 'bulma-clean-theme', '~> 1.0', '>= 1.0.2' + gem 'jekyll-toc' end diff --git a/_config.yml b/_config.yml index 02b0b0a..4d77603 100644 --- a/_config.yml +++ b/_config.yml @@ -1,9 +1,10 @@ plugins: - jekyll-feed - - jekyll-remote-theme - jekyll-seo-tag - jekyll-sitemap - jekyll-timeago + - jekyll-thumbnail-img + - jekyll-toc title: Noe Nieto tagline: Mi sitio personal | Personal site email: nnieto@noenieto.com @@ -33,7 +34,8 @@ webmaster_verifications: yandex: 1234 baidu: 1234 facebook: 1234 -remote_theme: chrisrhymes/bulma-clean-theme@v1.0.0 +# remote_theme: chrisrhymes/bulma-clean-theme@v1.0.0 +theme: bulma-clean-theme google_analytics: UA-34700214-1 # Disqus diff --git a/_includes/thumbnail_modal.html b/_includes/thumbnail_modal.html new file mode 100644 index 0000000..4422ed4 --- /dev/null +++ b/_includes/thumbnail_modal.html @@ -0,0 +1,2 @@ +{% capture thumb %}{% thumbnail_img include.img 48 %}{% endcapture %} +{% include image-modal.html ratio="is-48x48" link=thumb alt="Example image" large_link=include.img %} diff --git a/_plugins/site_stats.rb b/_plugins/site_stats.rb new file mode 100644 index 0000000..e4b2e5a --- /dev/null +++ b/_plugins/site_stats.rb @@ -0,0 +1,38 @@ +Jekyll::Hooks.register :site, :post_read do |site| + # Define the directories to search for images + image_directories = ['assets/images', 'images', '_posts'] + + # Initialize the image count + image_count = 0 + + # Supported image extensions + image_extensions = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.svg', '.webp'] + + # Iterate through the specified directories + image_directories.each do |dir| + Dir.glob(File.join(site.source, dir, '**', '*')) do |file| + if image_extensions.include?(File.extname(file).downcase) + image_count += 1 + end + end + end + + # Initialize the draft count + draft_count = 0 + + # Path to the _drafts directory + drafts_dir = File.join(site.source, '_drafts') + + # Check if the _drafts directory exists + if Dir.exist?(drafts_dir) + # Count the number of markdown files in the _drafts directory + draft_count = Dir.glob(File.join(drafts_dir, '**', '*.{md,markdown}')).size + end + + site.config['stats'] = { + 'posts' => site.posts.size, + 'drafts' => draft_count, + 'pages' => site.pages.size, + 'Images' => image_count + } +end diff --git a/about.md b/about.md index d256c50..8ba743f 100644 --- a/about.md +++ b/about.md @@ -21,14 +21,82 @@ Aren't we cute? We love dogs. But there's a running joke about their names: Except for *Pulga* (flea in spanish), they are happily named after sweets and candies. For the sake of clarity Here's a table of their names, an english translation and an illustration of each sweet. -Name | Gender | Age | English translation (if available) | Sweet example | Dog photo -------------| ------ | --- | ---------------------------------- | --------------| --------- -Bombon | F | 9 | Marshmallow | ![We call her bombon becuse her white fur]({{"/media/bombonas//bombon1.png" | absolute_url}} "This is a marshmallow") | bar -Chocorol | M | 5 | | foo | bar -Candy | F | 4 | Candy | foo | bar -Winnis | F | 3 | | foo | bar -Tutsi | F | 3 | | foo | bar -Cookies | F | 3 | Cookies | foo | bar -Bubulubu | F | 3 | | foo | bar -Pulga | F | 2 | Flea | foo | bar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameGenderAgeEnglish translation (if available)Sweet exampleDog photo
BombonF{{ site.time | date: '%y' | plus: -14 }}Marshmallow. A.K.A. Bombota, Bombotita, Bombosa, Bombonota{% include thumbnail_modal.html img='/media/bombonas/bombon1.png' %}bar
ChocorolM{{ site.time | date: '%y' | plus: -19 }}A popular chocolate cake roll (or Swiss Roll) available almost anywhere on Mexico. I also call him Don Checho{% include thumbnail_modal.html img='/media/bombonas/chocorol.webp' %}yay
CandyF{{ site.time | date: '%y' | plus: -20 }}A candy of the hard type. We also call her by Mamachita{% include thumbnail_modal.html img='/media/bombonas/candy.jpg' %}bar
WinnisF{{ site.time | date: '%y' | plus: -21 }}A popular soft candy in the Mexican border{% include thumbnail_modal.html img='/media/bombonas/winnis.webp' %}bar
TutsiF{{ site.time | date: '%y' | plus: -21 }}The mexican version of the Cherry Tootsie lolipop.{% include thumbnail_modal.html img='/media/bombonas/tutsi.png' %}bar
CookiesF{{ site.time | date: '%y' | plus: -21 }}Cookies are delicious. We also call her Cuquis or Cuca{% include thumbnail_modal.html img='/media/bombonas/cookies.jpg' %}bar
BubulubuF{{ site.time | date: '%y' | plus: -21 }}Bubulubu is another popular mexican sweet. It's a marshmallow/jellybean sandwich covered with chocolate. We also call her Buba{% include thumbnail_modal.html img='/media/bombonas/bubulubu.png' %}bar
PulgaF{{ site.time | date: '%y' | plus: -22 }}Flea. She's a tiny Chihuahua. We named her in honor of Bombona's mother: Pulga 1. bar
diff --git a/media/bombonas/bubulubu.png b/media/bombonas/bubulubu.png new file mode 100644 index 0000000..122a08d Binary files /dev/null and b/media/bombonas/bubulubu.png differ diff --git a/media/bombonas/candy.jpg b/media/bombonas/candy.jpg new file mode 100644 index 0000000..8562562 Binary files /dev/null and b/media/bombonas/candy.jpg differ diff --git a/media/bombonas/chocorol.webp b/media/bombonas/chocorol.webp new file mode 100644 index 0000000..fdba876 Binary files /dev/null and b/media/bombonas/chocorol.webp differ diff --git a/media/bombonas/cookies.jpg b/media/bombonas/cookies.jpg new file mode 100644 index 0000000..fc173a0 Binary files /dev/null and b/media/bombonas/cookies.jpg differ diff --git a/media/bombonas/thumbnails/bombon1_48w.png b/media/bombonas/thumbnails/bombon1_48w.png new file mode 100644 index 0000000..e90457b Binary files /dev/null and b/media/bombonas/thumbnails/bombon1_48w.png differ diff --git a/media/bombonas/thumbnails/bubulubu_48w.png b/media/bombonas/thumbnails/bubulubu_48w.png new file mode 100644 index 0000000..74ad7ed Binary files /dev/null and b/media/bombonas/thumbnails/bubulubu_48w.png differ diff --git a/media/bombonas/thumbnails/candy_48w.jpg b/media/bombonas/thumbnails/candy_48w.jpg new file mode 100644 index 0000000..c507e98 Binary files /dev/null and b/media/bombonas/thumbnails/candy_48w.jpg differ diff --git a/media/bombonas/thumbnails/chocorol_200w.webp b/media/bombonas/thumbnails/chocorol_200w.webp new file mode 100644 index 0000000..a08211a Binary files /dev/null and b/media/bombonas/thumbnails/chocorol_200w.webp differ diff --git a/media/bombonas/thumbnails/chocorol_48w.webp b/media/bombonas/thumbnails/chocorol_48w.webp new file mode 100644 index 0000000..894e833 Binary files /dev/null and b/media/bombonas/thumbnails/chocorol_48w.webp differ diff --git a/media/bombonas/thumbnails/chocorol_500w.webp b/media/bombonas/thumbnails/chocorol_500w.webp new file mode 100644 index 0000000..5101185 Binary files /dev/null and b/media/bombonas/thumbnails/chocorol_500w.webp differ diff --git a/media/bombonas/thumbnails/cookies_48w.jpg b/media/bombonas/thumbnails/cookies_48w.jpg new file mode 100644 index 0000000..cf7fc5b Binary files /dev/null and b/media/bombonas/thumbnails/cookies_48w.jpg differ diff --git a/media/bombonas/thumbnails/tutsi_48w.png b/media/bombonas/thumbnails/tutsi_48w.png new file mode 100644 index 0000000..4b7672a Binary files /dev/null and b/media/bombonas/thumbnails/tutsi_48w.png differ diff --git a/media/bombonas/thumbnails/winnis_48w.webp b/media/bombonas/thumbnails/winnis_48w.webp new file mode 100644 index 0000000..c81bf19 Binary files /dev/null and b/media/bombonas/thumbnails/winnis_48w.webp differ diff --git a/media/bombonas/tutsi.png b/media/bombonas/tutsi.png new file mode 100644 index 0000000..c133c9c Binary files /dev/null and b/media/bombonas/tutsi.png differ diff --git a/media/bombonas/winnis.webp b/media/bombonas/winnis.webp new file mode 100644 index 0000000..af7022f Binary files /dev/null and b/media/bombonas/winnis.webp differ diff --git a/powered_by.md b/powered_by.md new file mode 100644 index 0000000..523437b --- /dev/null +++ b/powered_by.md @@ -0,0 +1,28 @@ +--- +title: NoeNieto.com is powered by ... +subtitle: What is this site made of? +layout: page +hero_height: is-small +hero_darken: true +--- + +## Technologies + +* [Jekyll](https://jekyllrb.com/) + - Version: {{jekyll.version}} + - Plugins: + - [jekyll-feed](https://github.com/jekyll/jekyll-feed) + - [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) + - [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) + - [jekyll-timeago](https://github.com/markets/jekyll-timeago) + - [jekyll-thumbnail-img](https://github.com/oturpe/jekyll-thumbnail-generator) + - [Bulma Clean Theme](https://www.csrhymes.com/bulma-clean-theme/) ({{theme.description}}) version `{{theme.version}}`, built by [C.S. Rhymes](https://www.csrhymes.com/) which uses [Bulma CSS](https://bulma.io/). +* I used to host this site on [opalstack](https://github.com/misaelnieto/misaelnieto.github.io/blob/615f30a7791f9bfd4e6243b03f7ef000d797630f/.github/workflows/jekyll.yml) but moved it to [vercel](https://vercel.com/) on 2023 to take advantage of their free tier. You can see the [vercel configuration file](https://github.com/misaelnieto/misaelnieto.github.io/blob/master/vercel.json). +* The source code is hosted on my [github](https://github.com/misaelnieto/misaelnieto.github.io) repository. + +## Site stats + +* Posts count: {{ site.stats.posts }} +* Pages count: {{ site.stats.pages }} +* Drafts: {{site.stats.draft_count }} +* Pages images: {{ site.stats.images }} diff --git a/projects/limoncito/index.md b/projects/limoncito/index.md new file mode 100644 index 0000000..22ca15e --- /dev/null +++ b/projects/limoncito/index.md @@ -0,0 +1,18 @@ +--- +layout: page +title: Limoncito +toc: true +--- + + + +## ¿Cómo puedo eliminar mi cuenta de usuario y todos mis datos de la aplicación Limoncito? + + +1. Abre la aplicación móvil de Limoncito. +2. Localiza y accede a la sección de ajustes/configuración de la cuenta de usuario. +3. Busca y selecciona la opción para "Eliminar cuenta de usuario". +4. En la pantalla de eliminación de cuenta, proporciona tu correo electrónico y contraseña asociados a la cuenta. +5. Confirma la eliminación de la cuenta. Esto borrará de forma permanente tu cuenta de usuario junto con todos los datos y libretas que hayas creado en la aplicación Limoncito. +6. Indica si hay algún aspecto específico de la aplicación que no te haya gustado y que haya motivado tu decisión de eliminar la cuenta. +