Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Personnalisation des metas pour un site #409

Open
MNourrisson opened this issue Apr 18, 2024 · 3 comments
Open

Personnalisation des metas pour un site #409

MNourrisson opened this issue Apr 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@MNourrisson
Copy link

What is the bug or the crash?

Pour les sites, il manque les instructions permettant la personnalisation des metas.

Steps to reproduce the issue

this.titleService.setTitle(
this.MainConfig.appName + ' - ' + this.program.title
);
this.metaTagService.updateTag({
name: 'description',
content: this.program.short_desc,
});
this.metaTagService.updateTag({
property: 'og:title',
content: MainConfig.appName + ' - ' + this.program.title,
});
this.metaTagService.updateTag({
property: 'og:description',
content: this.program.short_desc,
});
this.metaTagService.updateTag({
property: 'og:image',
content: this.program.image,
});
this.metaTagService.updateTag({
property: 'og:url',
content: MainConfig.URL_APPLICATION + this.router.url,
});
this.metaTagService.updateTag({
property: 'twitter:title',
content: MainConfig.appName + ' - ' + this.program.title,
});
this.metaTagService.updateTag({
property: 'twitter:description',
content: this.program.short_desc,
});
this.metaTagService.updateTag({
property: 'twitter:image',
content: this.program.image,

Versions

1.0.0

Additional context

No response

@camillemonchicourt
Copy link
Member

OK, votre GeoNature-citizen est-il en ligne officiellement ?
Si oui, pouvez-vous partager ici son URL ?
Merci.

@MNourrisson
Copy link
Author

Il est en cours de construction mais il est accessible : https://obs.parc-livradois-forez.org/

@camillemonchicourt
Copy link
Member

OK merci, intéressant.
Et en effet, il faudrait bien prendre en compte les balises sur les différentes pages.

@camillemonchicourt camillemonchicourt added the enhancement New feature or request label Apr 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants