Skip to content

Commit

Permalink
Actualización librerias Javascript y corrección de PageSpeed Insights
Browse files Browse the repository at this point in the history
  • Loading branch information
picodotdev committed Jan 13, 2024
1 parent fe22550 commit 77b778a
Show file tree
Hide file tree
Showing 4,918 changed files with 83,971 additions and 94,398 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 2 additions & 5 deletions .github/workflows/blog-bitix-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
env:
HUGO_VERSION: 0.121.1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: master
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: deploy/
ref: gh-pages
Expand Down Expand Up @@ -57,9 +57,6 @@ jobs:
run: |
npm run less-main
hugo gen chromastyles --style=github > themes/bitix/static/assets/css/syntax.css
cp themes/bitix/static/assets/css/syntax.css themes/bitix/layouts/partials/style-syntax.amp.css
cp themes/bitix/static/assets/css/main.css themes/bitix/layouts/partials/style-main.amp.css
npm run minify-amp
- name: Generate content
run: |
hugo --destination="deploy/" --gc --cleanDestinationDir
Expand Down
208 changes: 0 additions & 208 deletions 404.html

This file was deleted.

4 changes: 0 additions & 4 deletions blog-generate-styles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ set -e
npm run less-main
hugo gen chromastyles --style=github > themes/bitix/static/assets/css/syntax.css

cp themes/bitix/static/assets/css/syntax.css themes/bitix/layouts/partials/style-syntax.amp.css
cp themes/bitix/static/assets/css/main.css themes/bitix/layouts/partials/style-main.amp.css

npm run minify-amp
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ define(['jquery'], function($) {

var spec = {
backgrounds: [
'confectionary.png',
'dimension.png',
'skulls.png',
'tree_bark.png',
'contemporary_china_2.png',
'eight_horns.png',
'swirl_pattern.png',
'upfeathers.png',
'contemporary_china.png',
'paisley.png',
'symphony.png'
'confectionary.webp',
'dimension.webp',
'skulls.webp',
'tree_bark.webp',
'contemporary_china_2.webp',
'eight_horns.webp',
'swirl_pattern.webp',
'upfeathers.webp',
'contemporary_china.webp',
'paisley.webp',
'symphony.webp'
]
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body {
font-weight: 400;
margin-bottom: 50px;
background-color: @background-page;
background-image: url('/blog-bitix/assets/images/backgrounds/grey.png');
background-image: url('/blog-bitix/assets/images/backgrounds/grey.webp');
}

...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ También son importantes los manuales de entrenamiento que dan nuevas capacidade

{{< image
gallery="true"
image1="image:the-last-of-us-parte-2-componentes.webp" optionsthumb1="300x200" title1=""
image2="image:the-last-of-us-parte-2-fabricar.webp" optionsthumb2="300x200" title2=""
image3="image:the-last-of-us-parte-2-habilidades.webp" optionsthumb3="300x200" title3="" >}}
image1="image:the-last-of-us-parte-2-componentes.webp" optionsthumb1="300x200" title1="Componentes"
image2="image:the-last-of-us-parte-2-fabricar.webp" optionsthumb2="300x200" title2="Fabricar"
image3="image:the-last-of-us-parte-2-habilidades.webp" optionsthumb3="300x200" title3="Habilidades" >}}
{{< image
gallery="true"
image1="image:the-last-of-us-parte-2-manules-de-entrenamiento.webp" optionsthumb1="300x200" title1=""
caption="" >}}
image1="image:the-last-of-us-parte-2-manules-de-entrenamiento.webp" optionsthumb1="300x200" title1="Manuales de entrenamiento"
caption="Recursos" >}}

### Coleccionables

Expand Down
20 changes: 10 additions & 10 deletions misc/2016/gists/5a071fff1edbd801b8a984b9c8bb310c/app-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ define(['jquery'], function($) {

var spec = {
backgrounds: [
'confectionary.png',
'dimension.png',
'skulls.png',
'tree_bark.png',
'contemporary_china_2.png',
'eight_horns.png',
'swirl_pattern.png',
'confectionary.webp',
'dimension.webp',
'skulls.webp',
'tree_bark.webp',
'contemporary_china_2.webp',
'eight_horns.webp',
'swirl_pattern.webp',
'upfeathers.png',
'contemporary_china.png',
'paisley.png',
'symphony.png'
'contemporary_china.webp',
'paisley.webp',
'symphony.webp'
]
};

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"webpack": "^5.61.0"
},
"scripts": {
"less-main": "lessc themes/bitix/static/assets/css/main.less themes/bitix/static/assets/css/main.css",
"minify-amp": "minify themes/bitix/layouts/partials/style-bootstrap.amp.css > themes/bitix/layouts/partials/style-bootstrap.amp.min.css && minify themes/bitix/layouts/partials/style-main.amp.css > themes/bitix/layouts/partials/style-main.amp.min.css && minify themes/bitix/layouts/partials/style-syntax.amp.css > themes/bitix/layouts/partials/style-syntax.amp.min.css"
"less-main": "lessc themes/bitix/static/assets/css/main.less themes/bitix/static/assets/css/main.css"
},
"dependencies": {
"npm": "^8.1.2",
Expand Down
4 changes: 3 additions & 1 deletion themes/bitix/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,6 @@
- id: writed_on
translation: "on"
- id: "year"
translation: "Año"
translation: "Year"
- id: "youtube_video"
translation: "YouTube Video"
5 changes: 4 additions & 1 deletion themes/bitix/i18n/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,7 @@
- id: writed_on
translation: "el"
- id: "year"
translation: "Año"
translation: "Año"
- id: "youtube_video"
translation: "Vídeo de YouTube"

Loading

0 comments on commit 77b778a

Please sign in to comment.