Skip to content

Commit f5978aa

Browse files
Rename net4people_url to discussion_url.
While most discussion URLs will be on net4people, some won't.
1 parent eb4ffd7 commit f5978aa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

references.bib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ @inproceedings{Bocovich2024a
2525
publisher = {USENIX},
2626
year = {2024},
2727
url = {https://www.usenix.org/system/files/sec24fall-prepub-1998-bocovich.pdf},
28-
net4people_url = {https://github.com/net4people/bbs/issues/366},
28+
discussion_url = {https://github.com/net4people/bbs/issues/366},
2929
}
3030

3131
@inproceedings{Moon2024a,
@@ -91,7 +91,7 @@ @inproceedings{Sakamoto2024a
9191
publisher = {},
9292
year = {2024},
9393
url = {https://www.petsymposium.org/foci/2024/foci-2024-0002.pdf},
94-
net4people_url = {https://github.com/net4people/bbs/issues/367},
94+
discussion_url = {https://github.com/net4people/bbs/issues/367},
9595
}
9696

9797
@inproceedings{Chi2024a,

src/html.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ func makeBibEntryTitle(entry *bibEntry) string {
7575
func makeIcons(entry *bibEntry) []string {
7676
var icons = []string{`<span class="icons">`}
7777

78-
// Not all references have a corresponding net4people discussion but if they
79-
// do, add an icon.
80-
if field, ok := entry.Fields["net4people_url"]; ok {
78+
// Not all references have a corresponding discussion (e.g., on net4people)
79+
// but if they do, add an icon.
80+
if field, ok := entry.Fields["discussion_url"]; ok {
8181
s := fmt.Sprintf("<a href='%s'>", field.String()) +
82-
`<img class="icon" title="net4people discussion" src="assets/discussion-icon.svg" alt="Discussion icon">` +
82+
`<img class="icon" title="Online discussion" src="assets/discussion-icon.svg" alt="Discussion icon">` +
8383
`</a>`
8484
icons = append(icons, s)
8585
}

0 commit comments

Comments
 (0)