瀏覽代碼

Update Fediverse view

Daniel Supernault 6 年之前
父節點
當前提交
7c0a0c5a32
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      resources/views/site/fediverse.blade.php

+ 4 - 2
resources/views/site/fediverse.blade.php

@@ -7,12 +7,14 @@
   </div>
   <hr>
   <section>
-    <p class="lead">,a href="http://fediverse.party/">Fediverse</a> is a portmanteau of “federation” and “universe”. It is a common, informal name for a federation of social network servers, specializing in different types of media.</p>
+    <p class="lead"><a href="http://fediverse.party/" rel="nofollow noopener">Fediverse</a> is a portmanteau of “federation” and “universe”. It is a common, informal name for a federation of social network servers, specializing in different types of media.</p>
     <p class="lead font-weight-bold text-muted mt-4 mb-0">Supported Fediverse Projects</p>
     <p class="small text-muted">Some of the better known fediverse projects include:</p>
     <ul class="lead pl-4">
       <li><a href="https://anfora.app/" rel="nofollow noopener">Anfora</a> – Self-hosted photo gallery social network.</li>
+      @if(\Illuminate\Support\Str::contains(config('pixelfed.media_types'), 'video/mp4'))
       <li><a href="https://joinpeertube.org/" rel="nofollow noopener">PeerTube</a> – A federated video streaming network.</li>
+      @endif
       <li><a href="https://pleroma.social/" rel="nofollow noopener">Pleroma</a> – A federated microblogging alternative.</li>
       <li><a href="https://joinmastodon.org" rel="nofollow noopener">Mastodon</a> – A federated microblogging alternative.</li>
       <li><a href="https://github.com/syuilo/misskey" rel="nofollow noopener">Misskey</a> – A federated microblogging alternative.</li>
@@ -21,5 +23,5 @@
 @endsection
 
 @push('meta')
-<meta property="og:description" content="What is the Fediverse">
+<meta property="og:description" content="Fediverse is a portmanteau of “federation” and “universe”. It is a common, informal name for a federation of social network servers, specializing in different types of media.">
 @endpush