Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJos Poortvliet <jospoortvliet@gmail.com>2020-04-01 12:37:34 +0300
committerJos Poortvliet <jospoortvliet@gmail.com>2020-04-01 12:37:34 +0300
commitf2d417f904aaf42c519717f009fea0fcbfc01c27 (patch)
treeecfec63d134a2e0f3face148419457f8bedeefd1 /page-files.php
parent57fd1210914771644af56a4452b2cad1feb5d053 (diff)
fix social media images
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-files.php')
-rw-r--r--page-files.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/page-files.php b/page-files.php
index 762700a7..e7bd090e 100644
--- a/page-files.php
+++ b/page-files.php
@@ -7,10 +7,10 @@
require(["modules/submenu"])
});
</script>
-<meta itemprop="image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/files-video.png">
-<meta name="twitter:image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/files-video.png">
-<meta name="twitter:image:src" content="<?php bloginfo('template_directory'); ?>/assets/img/features/files-video.png">
-<meta property="og:image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/files-video.png">
+<meta itemprop="image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/files-video.png">
+<meta name="twitter:image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/files-video.png">
+<meta name="twitter:image:src" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/files-video.png">
+<meta property="og:image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/files-video.png">
<meta name=”Description” content="Learn how Nextcloud Files helps you and your team members be productive with secure, easy to use collaboration and communication tools!">
</head>
<div class="background files-background second-menu">