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

head.php « templates - github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3c5bec5724d77a86d66a1212d2791a6b523fb3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<?php require get_template_directory().'/templates/metadata.php';?>

<!--     <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin> -->
<!-- 	<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i" rel="stylesheet"> -->
	<link href="<?php echo get_template_directory_uri(); ?>/assets/css/custom.css?version=15" rel="stylesheet">
<?php

// Remove quote bodyclass

function wpse15850_body_class( $wp_classes, $extra_classes )
{
    // List of the only WP generated classes allowed
    $whitelist = array( 'logged-in', 'admin-bar' );

    // List of the only WP generated classes that are not allowed
    $blacklist = array( 'quote' );

    // Filter the body classes
    // Whitelist result: (comment if you want to blacklist classes)
    # $wp_classes = array_intersect( $wp_classes, $whitelist );
    // Blacklist result: (uncomment if you want to blacklist classes)
    $wp_classes = array_diff( $wp_classes, $blacklist );

    // Add the extra classes back untouched
    return array_merge( $wp_classes, (array) $extra_classes );
}
add_filter( 'body_class', 'wpse15850_body_class', 10, 2 );

?>

	<?php wp_head(); ?>
	<script type="text/javascript">
		var templateUrl = '<?= get_bloginfo('template_url'); ?>';
	</script>
	<script data-main="<?php echo get_template_directory_uri(); ?>/assets/js/require.config.js"
	src="<?php echo get_template_directory_uri(); ?>/node_modules/requirejs/require.min.js">
	</script>

	<script>
	requirejs.config({ waitSeconds: 0 });
	require(["require.config"], function() {
		require(["modules/header", "main", "overlay", "modernizr", "modules/cookieconsent"])
	});
	</script>



</head>