Giter VIP home page Giter VIP logo

Comments (6)

strainel avatar strainel commented on June 24, 2024 1

j'ai tout de même posé la question
themefisher/airspace-hugo#72

@RLesur : s'il modifie leur script.js, le nombre ne sera plus à jour... non ?

from web.

LVerneyPEReN avatar LVerneyPEReN commented on June 24, 2024 1

En effet, très pratique cette possibilité ! J'ai fait une PR type en doublant le temps de slick : #34.

Je mettrai à jour suivant les retours airspace / la maintenance voulue.

from web.

LVerneyPEReN avatar LVerneyPEReN commented on June 24, 2024

à modifier dans le thème directement (airspace-hugo) : https://github.com/themefisher/airspace-hugo/blob/aed3250fa7db6b56fa65be73ed1e3ea52f658e59/assets/js/script.js#L26-L47

Pas sûr que ce soit acceptable. Sinon, quick and dirty, je dois pouvoir faire un patch à base de search and replace (sed) dans _deploy.sh pour aller modifier directement dans le js/script.min.js produit.

from web.

strainel avatar strainel commented on June 24, 2024

une idée qui me séduit...
je pensais aussi à créer un paramètre.

partons pour le quick-and-dirty et nous verrons ensuite... tu le fais @LucasVerneyDGE ?

from web.

RLesur avatar RLesur commented on June 24, 2024

tant qu'à faire du quick and dirty, faisons un peu moins dirty : il suffit de déplacer le script dans assets/js (à créer). Hugo ira chercher celui là.

from web.

RLesur avatar RLesur commented on June 24, 2024

@strainel effectivement, le gros avantage d'Hugo, c'est qu'on peut facilement customiser un thème en déplaçant un de ses fichiers et en le modifiant (comme dans #32 ). L'inconvénient, c'est la maintenance de ces versions modifiées quand on met à jour le thème. C'est un arbitrage.

from web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.