mirror of https://github.com/escalate/hugo-split-theme.git

Felix Boerner
05.10.2024 40104704858f9a90328cc35c07d870d1b2ba1ca1
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Site settings
baseURL = "https://example.com"
languageCode = "en-US"
title = "Split - HTML Template Demo"
theme = "hugo-split-theme"
disableKinds = ["section", "taxonomy", "RSS", "sitemap"]
disableHugoGeneratorInject = true
 
# Local preview mode
relativeURLs = true
uglyURLs = true
 
# Enter your tracking code to enable Google Analytics
googleAnalytics = ""
 
# Copyright
copyright = "©2024 Your Name"
 
[params]
 
  # Metadata for search engines and social sharing
  author = "Jenny Jones"
  description = "Split is a centrally-divided layout for a professional online presence with a big image or video left with alongside content."
  shareImage = "images/social.jpg"
  twitterHandle = "onepagelove"
 
  # Favicon
  favicon = "favicon.ico"
 
  # Section - Visual
  [params.visual]
 
    # Image
    [params.visual.image]
      enable = false
      file = "images/background.jpg"
      position = "center center"
 
    # Video
    [params.visual.video]
      enable = true
      mute = true
      file = "videos/background.mp4"
      # youtubeId = "dk9uNWPP7EA"
 
  # Links
  #
  # Links List #1
  [[params.links]]
    [params.links.list1]
      heading = "Connect"
 
      [[params.links.list1.link]]
        text = "Blog"
        url = "#"
        new_tab = true # new tab
 
      [[params.links.list1.link]]
        text = "Email"
        url = "#"
        new_tab = false # Default, open at same tab
 
      [[params.links.list1.link]]
        text = "Newsletter"
        url = "#"
 
  # Links List #2
  [[params.links]]
    [params.links.list2]
      heading = "Social"
 
      [[params.links.list2.link]]
        text = "Twitter"
        url = "#"
 
      [[params.links.list2.link]]
        text = "Instagram"
        url = "#"
 
      [[params.links.list2.link]]
        text = "Dribbble"
        url = "#"
 
  # Links List #3
  [[params.links]]
    [params.links.list3]
      heading = "Network"
 
      [[params.links.list3.link]]
        text = "Link One"
        url = "#"
 
      [[params.links.list3.link]]
        text = "Link Two"
        url = "#"
 
      [[params.links.list3.link]]
        text = "Link Three"
        url = "#"
 
  # The original template is released under the Creative Commons Attribution 3.0 License.
  # Please keep the original attribution link when using for your own project.
  # If you'd like to use the template without the attribution, you can check out
  # the license option via the template author's website: https://onepagelove.com/split
 
[server]
[[server.headers]]
    for = '/**'
    [server.headers.values]
      Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' https://dummyimage.com"
      Referrer-Policy = 'strict-origin-when-cross-origin'
      X-Content-Type-Options = 'nosniff'
      X-Frame-Options = 'DENY'
      X-XSS-Protection = '1; mode=block'