~sungo/nanoblogger

d47e3d89ce00bf7fcae9c867a36cd0453e2643a5 — sungo 1 year, 3 months ago f4d47f3
reformat the feed links
1 files changed, 3 insertions(+), 12 deletions(-)

M plugins/page/feed_links.sh
M plugins/page/feed_links.sh => plugins/page/feed_links.sh +3 -12
@@ 17,10 17,7 @@ if [ ! -z "$NB_AtomVer" ]; then
	fi
	NB_AtomAltLink=$(
	cat <<-EOF
		<link rel="alternate" type="application/atom+xml"
			title="$NB_AtomTitle"
			href="$NB_AtomLink"
		/>
		<link rel="alternate" type="application/atom+xml" title="$NB_AtomTitle" href="$NB_AtomLink" />
	EOF
	)
fi


@@ 36,10 33,7 @@ if [ ! -z "$NB_RSS2Ver" ]; then
	fi
	NB_RSS2AltLink=$(
	cat <<-EOF
		<link rel="alternate" type="application/rss+xml"
			title="$NB_RSS2Title"
			href="$NB_RSS2Link"
		/>
		<link rel="alternate" type="application/rss+xml" title="$NB_RSS2Title" href="$NB_RSS2Link" />
	EOF
	)
fi


@@ 55,10 49,7 @@ if [ ! -z "$NB_RSSVer" ]; then
	fi	
	NB_RSSAltLink=$(
	cat <<-EOF
		<link rel="alternate" type="application/rss+xml"
			title="$NB_RSSTitle"
			href="$NB_RSSLink"
		/>
		<link rel="alternate" type="application/rss+xml" title="$NB_RSSTitle" href="$NB_RSSLink" />
	EOF
	)
fi