[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www] branch master updated: fix typo
From: |
gnunet |
Subject: |
[www] branch master updated: fix typo |
Date: |
Mon, 04 Nov 2019 13:30:48 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new d4484b0 fix typo
d4484b0 is described below
commit d4484b04089c2ad28cb10d2a773e6b42cc9e6930
Author: ng0 <address@hidden>
AuthorDate: Mon Nov 4 12:28:07 2019 +0000
fix typo
---
GNUmakefile | 10 +++++-----
rssg | 1 -
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 116e843..785380e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -45,11 +45,11 @@ all: css locale template
for lang in en de es fr it; do \
$(sh) ../rssg $$lang/news/index.html 'GNUnet.org' >
$$lang/news/rss.xml; \
done)
- cd rendered/en ; $(ln) -fs news/index.html rss.xml
- cd rendered/de ; $(ln) -fs news/index.html rss.xml
- cd rendered/es ; $(ln) -fs news/index.html rss.xml
- cd rendered/fr ; $(ln) -fs news/index.html rss.xml
- cd rendered/it ; $(ln) -fs news/index.html rss.xml
+ cd rendered/en ; $(ln) -fs news/rss.xml rss.xml
+ cd rendered/de ; $(ln) -fs news/rss.xml rss.xml
+ cd rendered/es ; $(ln) -fs news/rss.xml rss.xml
+ cd rendered/fr ; $(ln) -fs news/rss.xml rss.xml
+ cd rendered/it ; $(ln) -fs news/rss.xml rss.xml
# Extract translateable strings from jinja2 templates.
diff --git a/rssg b/rssg
index fbb97d4..12bea1a 100755
--- a/rssg
+++ b/rssg
@@ -80,7 +80,6 @@ md_to_html() {
get_title() {
awk -F '[<>]' '/<h1/ { gsub(/<h1>/, ""); gsub(/<\/h1>/, ""); sub(/
.*/, "", $3); print $0}' | sed 's/^[ \t]*//;s/[ \t]*$//' | awk 'FNR==2'
- # awk 'tolower($0)~/^<h1/{gsub(/<[^>]*>/,"",$0);print;exit}'
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [www] branch master updated: fix typo,
gnunet <=