<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>{{ .Title }}</title>
  {{ hugo.Generator }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  {{ if .Description }}<meta name="description" content="{{ .Description }}">{{ end }}
  {{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}
  <link href="/css/style.css" rel="stylesheet">
</head>

<body>

<div class="container">

  <header class="masthead">
    <h1 class="masthead-title">
      <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
    </h1>

    <nav class="masthead-nav">
    {{ range where .Site.RegularPages "Section" "page" }}
      <a href="{{ .RelPermalink }}">{{ .Title }}</a>
    {{ end }}
    </nav>

  </header>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>{{ .Title }}</title>
  {{ hugo.Generator }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  {{ if .Description }}
    <meta name="description" content="{{ .Description }}">
  {{ end }}
  {{ with .OutputFormats.Get "RSS" }}
    <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ site.Title }}" />
  {{ end }}
  <link href="/css/style.css" rel="stylesheet">
</head>

<body>

<div class="container">

  <header class="masthead">
    <h1 class="masthead-title">
      <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
    </h1>

    <nav class="masthead-nav">
    {{ range where site.RegularPages "Section" "page" }}
      <a href="{{ .RelPermalink }}">{{ .Title }}</a>
    {{ end }}
    </nav>

  </header>

Remove deprecated .RSSLink function, 0.55.x compatible
Remove deprecated .RSSLink function, 0.55.x compatible
