1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.Metadata.Providers.RestrictIndexing do
6 @behaviour Pleroma.Web.Metadata.Providers.Provider
9 Restricts indexing of remote users.
13 def build_tags(%{user: %{local: false}}) do
18 content: "noindex, noarchive"
24 def build_tags(%{user: %{local: true}}), do: []