github / github/pages-gem

Post url updated before site is actually deployed and new urls are available in site.posts

Aperta
#758 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
1.9k
Fork
360
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### This issue affects

- [x] The site generated by GitHub Pages
- [ ] Building sites locally

*The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting [seeking support in other forums](https://github.com/github/pages-gem/blob/master/docs/SUPPORT.md).*

### What did you do (e.g., steps to reproduce)
- Pushed a post
- Renamed the date to correctly reflect today and pushed it

### What did you expect to happen?
- The post to have the old date until a new deployment is finished.

### What happened instead?
Between pushing the ammended post and that deployment being finished, the site is partially broken:
- The ammended post is displayed in the overview with the old date and a link to the old url
- When clicking on that url, the post is not available and returns a 404
- When navigating to the new url, the post is available

### Additional information

* Link to the live site (if applicable): https://prinsfrank.nl
* Link to the source repo (if applicable): https://github.com/PrinsFrank/PrinsFrank.nl

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo i tempi del deployment con il sito live collegato e il repository sorgente, confrontando l'overview link, la old URL, la new URL e le voci in site.posts tra i push e il completamento del deployment. Poiché nell'issue non sono indicati né un file sorgente né un test, traccia prima il modo in cui GitHub Pages crea e pubblica gli URL dei post, prima di decidere quale comportamento possa essere modificato. Il lavoro è completato quando l'overview link non rimanda a un post non disponibile durante il deployment.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, jekyll, ruby
Ambito
build-system
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.