Browse Source

Update landing page, fix hardcoded values

Daniel Supernault 5 năm trước cách đây
mục cha
commit
dda5be75de
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      resources/views/site/index.blade.php

+ 3 - 1
resources/views/site/index.blade.php

@@ -230,7 +230,7 @@
                             </div>
                             <div class="media-body">
                                 <p class="h5 font-weight-bold mt-2 mb-0">Albums</p>
-                                Create an album with up to <span class="font-weight-bold">10</span> photos
+                                Create an album with up to <span class="font-weight-bold">{{config('pixelfed.max_album_length')}}</span> photos
                             </div>
                         </div>
                     </div>
@@ -281,6 +281,7 @@
                             </div>
                         </div>
                     </div>
+                    @if(config('instance.stories.enabled'))
                     <div class="mb-5">
                         <div class="media">
                             <div class="feature-circle">
@@ -292,6 +293,7 @@
                             </div>
                         </div>
                     </div>
+                    @endif
                 </div>
             </div>
         </section>