mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add description meta-element to package pages
Implements FS#33294 Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
b004333ead
commit
8e1051932e
4 changed files with 66 additions and 39 deletions
|
@ -10,6 +10,9 @@
|
|||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='alternate' type='application/rss+xml' title='Newest Packages RSS' href='<?= get_uri('/rss/'); ?>' />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<?php if (isset($details['Description']) && !empty($details['Description'])): ?>
|
||||
<meta name="description" content="<?= htmlspecialchars($details['Description']) ?>" />
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="archnavbar" class="anb-aur">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue