1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 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 and/or non-discoverable users.
13 def build_tags(%{user: %{local: true, is_discoverable: true}}), do: []
20 content: "noindex, noarchive"