Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Book theme as submodule. Copied in example site and config file…
… verbatum
- Loading branch information
Showing
34 changed files
with
2,560 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "site/themes/book"] | ||
path = site/themes/book | ||
url = https://github.com/alex-shpak/hugo-book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# hugo server --minify | ||
|
||
baseURL = "https://wiki.brisberg.dev/" | ||
languageCode = "en-us" | ||
title = "Brisberg Wiki" | ||
theme = 'Book' | ||
|
||
# Book configuration | ||
# disablePathToLower = true | ||
enableGitInfo = true | ||
|
||
# Needed for mermaid/katex shortcodes | ||
[markup] | ||
[markup.goldmark.renderer] | ||
unsafe = true | ||
|
||
[markup.tableOfContents] | ||
startLevel = 1 | ||
|
||
[menu] | ||
[[menu.after]] | ||
name = "Github" | ||
url = "https://github.com/alex-shpak/hugo-book" | ||
weight = 10 | ||
|
||
[params] | ||
# (Optional, default light) Sets color theme: light, dark or auto. | ||
# Theme 'auto' switches between dark and light modes based on browser/os preferences | ||
BookTheme = 'auto' | ||
|
||
# (Optional, default true) Controls table of contents visibility on right side of pages. | ||
# Start and end levels can be controlled with markup.tableOfContents setting. | ||
# You can also specify this parameter per page in front matter. | ||
BookToC = true | ||
|
||
# (Optional, default none) Set the path to a logo for the book. If the logo is | ||
# /static/logo.png then the path would be logo.png | ||
BookLogo = 'favicon.png' | ||
|
||
# (Optional, default none) Set leaf bundle to render as side menu | ||
# When not specified file structure and weights will be used | ||
# See ExampleSite for usage | ||
# BookMenuBundle = '/menu' | ||
|
||
# (Optional, default docs) Specify root page to render child pages as menu. | ||
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/ | ||
# For backward compatibility you can set '*' to render all sections to menu. Acts same as '/' | ||
BookSection = 'docs' | ||
|
||
# Set source repository location. | ||
# Used for 'Last Modified' and 'Edit this page' links. | ||
BookRepo = 'https://github.com/brisberg/wiki.brisberg.dev' | ||
|
||
# Enable "Edit this page" links for 'doc' page type. | ||
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param. | ||
# Edit path must point to root directory of repo. | ||
BookEditPath = 'edit/main/exampleSite' | ||
|
||
# Configure the date format used on the pages | ||
# - In git information | ||
# - In blog posts | ||
BookDateFormat = 'January 2, 2006' | ||
|
||
# (Optional, default true) Enables search function with flexsearch, | ||
# Index is built on fly, therefore it might slowdown your website. | ||
# Configuration for indexing can be adjusted in i18n folder per language. | ||
BookSearch = true | ||
|
||
# (Optional, default true) Enables comments template on pages | ||
# By default partals/docs/comments.html includes Disqus template | ||
# See https://gohugo.io/content-management/comments/#configure-disqus | ||
# Can be overwritten by same param in page frontmatter | ||
BookComments = true | ||
|
||
# /!\ This is an experimental feature, might be removed or changed at any time | ||
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages. | ||
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode | ||
# Theme will print warning if page referenced in markdown does not exists. | ||
# BookPortableLinks = true | ||
|
||
# /!\ This is an experimental feature, might be removed or changed at any time | ||
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. | ||
BookServiceWorker = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Introduction | ||
type: docs | ||
--- | ||
|
||
# Acerbo datus maxime | ||
|
||
{{< columns >}} | ||
## Astris ipse furtiva | ||
|
||
Est in vagis et Pittheus tu arge accipiter regia iram vocatur nurus. Omnes ut | ||
olivae sensit **arma sorori** deducit, inesset **crudus**, ego vetuere aliis, | ||
modo arsit? Utinam rapta fiducia valuere litora _adicit cursu_, ad facies | ||
|
||
<---> | ||
|
||
## Suis quot vota | ||
|
||
Ea _furtique_ risere fratres edidit terrae magis. Colla tam mihi tenebat: | ||
miseram excita suadent es pecudes iam. Concilio _quam_ velatus posset ait quod | ||
nunc! Fragosis suae dextra geruntur functus vulgata. | ||
{{< /columns >}} | ||
|
||
|
||
## Tempora nisi nunc | ||
|
||
Lorem **markdownum** emicat gestu. Cannis sol pressit ducta. **Est** Idaei, | ||
tremens ausim se tutaeque, illi ulnis hausit, sed, lumina cutem. Quae avis | ||
sequens! | ||
|
||
var panel = ram_design; | ||
if (backup + system) { | ||
file.readPoint = network_native; | ||
sidebar_engine_device(cell_tftp_raster, | ||
dual_login_paper.adf_vci.application_reader_design( | ||
graphicsNvramCdma, lpi_footer_snmp, integer_model)); | ||
} | ||
|
||
## Locis suis novi cum suoque decidit eadem | ||
|
||
Idmoniae ripis, at aves, ali missa adest, ut _et autem_, et ab? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
weight: 1 | ||
bookFlatSection: true | ||
title: "Example Site" | ||
--- | ||
|
||
# Introduction | ||
|
||
## Ferre hinnitibus erat accipitrem dixi Troiae tollens | ||
|
||
Lorem markdownum, a quoque nutu est *quodcumque mandasset* veluti. Passim | ||
inportuna totidemque nympha fert; repetens pendent, poenarum guttura sed vacet | ||
non, mortali undas. Omnis pharetramque gramen portentificisque membris servatum | ||
novabis fallit de nubibus atque silvas mihi. **Dixit repetitaque Quid**; verrit | ||
longa; sententia [mandat](http://pastor-ad.io/questussilvas) quascumque nescio | ||
solebat [litore](http://lacrimas-ab.net/); noctes. *Hostem haerentem* circuit | ||
[plenaque tamen](http://www.sine.io/in). | ||
|
||
- Pedum ne indigenae finire invergens carpebat | ||
- Velit posses summoque | ||
- De fumos illa foret | ||
|
||
## Est simul fameque tauri qua ad | ||
|
||
Locum nullus nisi vomentes. Ab Persea sermone vela, miratur aratro; eandem | ||
Argolicas gener. | ||
|
||
## Me sol | ||
|
||
Nec dis certa fuit socer, Nonacria **dies** manet tacitaque sibi? Sucis est | ||
iactata Castrumque iudex, et iactato quoque terraeque es tandem et maternos | ||
vittis. Lumina litus bene poenamque animos callem ne tuas in leones illam dea | ||
cadunt genus, et pleno nunc in quod. Anumque crescentesque sanguinis | ||
[progenies](http://www.late.net/alimentavirides) nuribus rustica tinguet. Pater | ||
omnes liquido creditis noctem. | ||
|
||
if (mirrored(icmp_dvd_pim, 3, smbMirroredHard) != lion(clickImportQueue, | ||
viralItunesBalancing, bankruptcy_file_pptp)) { | ||
file += ip_cybercrime_suffix; | ||
} | ||
if (runtimeSmartRom == netMarketingWord) { | ||
virusBalancingWin *= scriptPromptBespoke + raster(post_drive, | ||
windowsSli); | ||
cd = address_hertz_trojan; | ||
soap_ccd.pcbServerGigahertz(asp_hardware_isa, offlinePeopleware, nui); | ||
} else { | ||
megabyte.api = modem_flowchart - web + syntaxHalftoneAddress; | ||
} | ||
if (3 < mebibyteNetworkAnimated) { | ||
pharming_regular_error *= jsp_ribbon + algorithm * recycleMediaKindle( | ||
dvrSyntax, cdma); | ||
adf_sla *= hoverCropDrive; | ||
templateNtfs = -1 - vertical; | ||
} else { | ||
expressionCompressionVariable.bootMulti = white_eup_javascript( | ||
table_suffix); | ||
guidPpiPram.tracerouteLinux += rtfTerabyteQuicktime(1, | ||
managementRosetta(webcamActivex), 740874); | ||
} | ||
var virusTweetSsl = nullGigo; | ||
|
||
## Trepident sitimque | ||
|
||
Sentiet et ferali errorem fessam, coercet superbus, Ascaniumque in pennis | ||
mediis; dolor? Vidit imi **Aeacon** perfida propositos adde, tua Somni Fluctibus | ||
errante lustrat non. | ||
|
||
Tamen inde, vos videt e flammis Scythica parantem rupisque pectora umbras. Haec | ||
ficta canistris repercusso simul ego aris Dixit! Esse Fama trepidare hunc | ||
crescendo vigor ululasse vertice *exspatiantur* celer tepidique petita aversata | ||
oculis iussa est me ferro. |
12 changes: 12 additions & 0 deletions
12
site/content/docs/example/collapsed/3rd-level/4th-level.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 4th Level of Menu | ||
|
||
## Caesorum illa tu sentit micat vestes papyriferi | ||
|
||
Inde aderam facti; Theseus vis de tauri illa peream. Oculos **uberaque** non | ||
regisque vobis cursuque, opus venit quam vulnera. Et maiora necemque, lege modo; | ||
gestanda nitidi, vero? Dum ne pectoraque testantur. | ||
|
||
Venasque repulsa Samos qui, exspectatum eram animosque hinc, [aut | ||
manes](http://www.creveratnon.net/apricaaetheriis), Assyrii. Cupiens auctoribus | ||
pariter rubet, profana magni super nocens. Vos ius sibilat inpar turba visae | ||
iusto! Sedes ante dum superest **extrema**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 3rd Level of Menu | ||
|
||
Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae | ||
miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me | ||
ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta. | ||
Intravit quam erat figentem hunc, motus de fontes parvo tempestate. | ||
|
||
iscsi_virus = pitch(json_in_on(eupViral), | ||
northbridge_services_troubleshooting, personal( | ||
firmware_rw.trash_rw_crm.device(interactive_gopher_personal, | ||
software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel, | ||
mips_whitelist_duplex, cpa))); | ||
if (5) { | ||
managementNetwork += dma - boolean; | ||
kilohertz_token = 2; | ||
honeypot_affiliate_ergonomics = fiber; | ||
} | ||
mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet( | ||
analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet), | ||
gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork, | ||
trim_duplex_file), cellTapeDirect, token_tooltip_mashup( | ||
ripcordingMashup))); | ||
module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) + | ||
coreLog.joystick(componentUdpLink), windows_expansion_touchscreen); | ||
bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling( | ||
ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
bookCollapseSection: true | ||
weight: 20 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
bookHidden: true | ||
--- | ||
|
||
# This page is hidden in menu | ||
|
||
# Quondam non pater est dignior ille Eurotas | ||
|
||
## Latent te facies | ||
|
||
Lorem markdownum arma ignoscas vocavit quoque ille texit mandata mentis ultimus, | ||
frementes, qui in vel. Hippotades Peleus [pennas | ||
conscia](http://gratia.net/tot-qua.php) cuiquam Caeneus quas. | ||
|
||
- Pater demittere evincitque reddunt | ||
- Maxime adhuc pressit huc Danaas quid freta | ||
- Soror ego | ||
- Luctus linguam saxa ultroque prior Tatiumque inquit | ||
- Saepe liquitur subita superata dederat Anius sudor | ||
|
||
## Cum honorum Latona | ||
|
||
O fallor [in sustinui | ||
iussorum](http://www.spectataharundine.org/aquas-relinquit.html) equidem. | ||
Nymphae operi oris alii fronde parens dumque, in auro ait mox ingenti proxima | ||
iamdudum maius? | ||
|
||
reality(burnDocking(apache_nanometer), | ||
pad.property_data_programming.sectorBrowserPpga(dataMask, 37, | ||
recycleRup)); | ||
intellectualVaporwareUser += -5 * 4; | ||
traceroute_key_upnp /= lag_optical(android.smb(thyristorTftp)); | ||
surge_host_golden = mca_compact_device(dual_dpi_opengl, 33, | ||
commerce_add_ppc); | ||
if (lun_ipv) { | ||
verticalExtranet(1, thumbnail_ttl, 3); | ||
bar_graphics_jpeg(chipset - sector_xmp_beta); | ||
} | ||
|
||
## Fronde cetera dextrae sequens pennis voce muneris | ||
|
||
Acta cretus diem restet utque; move integer, oscula non inspirat, noctisque | ||
scelus! Nantemque in suas vobis quamvis, et labori! | ||
|
||
var runtimeDiskCompiler = home - array_ad_software; | ||
if (internic > disk) { | ||
emoticonLockCron += 37 + bps - 4; | ||
wan_ansi_honeypot.cardGigaflops = artificialStorageCgi; | ||
simplex -= downloadAccess; | ||
} | ||
var volumeHardeningAndroid = pixel + tftp + onProcessorUnmount; | ||
sector(memory(firewire + interlaced, wired)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
weight: 10 | ||
--- | ||
|
||
# Ubi loqui | ||
|
||
## Mentem genus facietque salire tempus bracchia | ||
|
||
Lorem markdownum partu paterno Achillem. Habent amne generosi aderant ad pellem | ||
nec erat sustinet merces columque haec et, dixit minus nutrit accipiam subibis | ||
subdidit. Temeraria servatum agros qui sed fulva facta. Primum ultima, dedit, | ||
suo quisque linguae medentes fixo: tum petis. | ||
|
||
## Rapit vocant si hunc siste adspice | ||
|
||
Ora precari Patraeque Neptunia, dixit Danae [Cithaeron | ||
armaque](http://mersis-an.org/litoristum) maxima in **nati Coniugis** templis | ||
fluidove. Effugit usus nec ingreditur agmen *ac manus* conlato. Nullis vagis | ||
nequiquam vultibus aliquos altera *suum venis* teneas fretum. Armos [remotis | ||
hoc](http://tutum.io/me) sine ferrea iuncta quam! | ||
|
||
## Locus fuit caecis | ||
|
||
Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae | ||
miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me | ||
ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta. | ||
Intravit quam erat figentem hunc, motus de fontes parvo tempestate. | ||
|
||
iscsi_virus = pitch(json_in_on(eupViral), | ||
northbridge_services_troubleshooting, personal( | ||
firmware_rw.trash_rw_crm.device(interactive_gopher_personal, | ||
software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel, | ||
mips_whitelist_duplex, cpa))); | ||
if (5) { | ||
managementNetwork += dma - boolean; | ||
kilohertz_token = 2; | ||
honeypot_affiliate_ergonomics = fiber; | ||
} | ||
mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet( | ||
analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet), | ||
gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork, | ||
trim_duplex_file), cellTapeDirect, token_tooltip_mashup( | ||
ripcordingMashup))); | ||
module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) + | ||
coreLog.joystick(componentUdpLink), windows_expansion_touchscreen); | ||
bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling( | ||
ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp); | ||
|
||
## Placabilis coactis nega ingemuit ignoscat nimia non | ||
|
||
Frontis turba. Oculi gravis est Delphice; *inque praedaque* sanguine manu non. | ||
|
||
if (ad_api) { | ||
zif += usb.tiffAvatarRate(subnet, digital_rt) + exploitDrive; | ||
gigaflops(2 - bluetooth, edi_asp_memory.gopher(queryCursor, laptop), | ||
panel_point_firmware); | ||
spyware_bash.statePopApplet = express_netbios_digital( | ||
insertion_troubleshooting.brouter(recordFolderUs), 65); | ||
} | ||
recursionCoreRay = -5; | ||
if (hub == non) { | ||
portBoxVirus = soundWeb(recursive_card(rwTechnologyLeopard), | ||
font_radcab, guidCmsScalable + reciprocalMatrixPim); | ||
left.bug = screenshot; | ||
} else { | ||
tooltipOpacity = raw_process_permalink(webcamFontUser, -1); | ||
executable_router += tape; | ||
} | ||
if (tft) { | ||
bandwidthWeb *= social_page; | ||
} else { | ||
regular += 611883; | ||
thumbnail /= system_lag_keyboard; | ||
} | ||
|
||
## Caesorum illa tu sentit micat vestes papyriferi | ||
|
||
Inde aderam facti; Theseus vis de tauri illa peream. Oculos **uberaque** non | ||
regisque vobis cursuque, opus venit quam vulnera. Et maiora necemque, lege modo; | ||
gestanda nitidi, vero? Dum ne pectoraque testantur. | ||
|
||
Venasque repulsa Samos qui, exspectatum eram animosque hinc, [aut | ||
manes](http://www.creveratnon.net/apricaaetheriis), Assyrii. Cupiens auctoribus | ||
pariter rubet, profana magni super nocens. Vos ius sibilat inpar turba visae | ||
iusto! Sedes ante dum superest **extrema**. |
Oops, something went wrong.