Skip to content

Commit

Permalink
Do not autoindex
Browse files Browse the repository at this point in the history
  • Loading branch information
wesl-ee committed Dec 20, 2023
1 parent b0fe91e commit d6f519e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
3 changes: 0 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ in pkgs.stdenv.mkDerivation rec {
buildPhase = ''
export TZ="America/New_York"
# Reset all timestamps to the epoch start
find . -exec touch -t 197001010000 {} \;
# Then timestamps for ikiwiki
find src/ -name "*.mdwn" -exec bash -c '
last_edit_timestamp=$(git log -1 --format=%ct -- "{}")
Expand Down
9 changes: 2 additions & 7 deletions ikiwiki.setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default_pageext: wiki
only_committed_changes: 0
# rcs backend to use
rcs: 'git'
add_plugins: [ 'toc', 'mirrorlist', 'wikitext', 'teximg', 'syntax', 'inline', 'goodstuff', 'link', 'date', 'favicon', 'graphviz', 'parentlinks', 'sortnaturally', 'meta', 'linkmap', 'shortcut', 'headinganchors', 'autoindex', 'img' ]
add_plugins: [ 'toc', 'mirrorlist', 'wikitext', 'teximg', 'syntax', 'inline', 'goodstuff', 'link', 'date', 'favicon', 'graphviz', 'parentlinks', 'sortnaturally', 'meta', 'linkmap', 'shortcut', 'headinganchors', 'img' ]
# plugins to disable
disable_plugins: ['htmlscrubber', 'recentchanges', 'recentchangesdiff', 'smiley']
# additional directory to search for template files
Expand Down Expand Up @@ -46,7 +46,7 @@ hardlink: 0
# extra library and plugin directories
libdirs: [ 'lib' ]
# time zone name
timezone: "US/Eastern"
timezone: "America/New_York"
# cookie control
# set custom user agent string for outbound HTTP requests e.g. when fetching aggregated RSS feeds
useragent: ikiwiki/3.20190228-1
Expand Down Expand Up @@ -103,11 +103,6 @@ mdwn_alpha_lists: 0
######################################################################
# other plugins
######################################################################

# autoindex plugin
# commit autocreated index pages
autoindex_commit: 0

# recentchanges plugin
# name of the recentchanges page
# recentchangespage: recentchanges
Expand Down
2 changes: 1 addition & 1 deletion src/index.mdwn
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ start exploring my personal wiki some the best way is to read a little about
or North_Carolina_State_University
or Japanese
or Sophia_University
or Digital_Money
or Digital_Money/Decentralized_Finance
or Coffee
or BMW_318ti
) and !index"]]
Expand Down

0 comments on commit d6f519e

Please sign in to comment.