画像をGit LFSの管理外に
|
@ -1,2 +0,0 @@
|
|||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 321 KiB |
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 321 KiB |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 4.1 MiB |
|
@ -5,7 +5,7 @@ require 'socket'
|
|||
desc 'Generate the HTML demo pages including drafts'
|
||||
task :demo do
|
||||
ip = Socket.getifaddrs.select{|x|
|
||||
x.name == "ens160" and x.addr.ipv4?
|
||||
x.name =~ /^e.{2}\d+/ and x.addr.ipv4?
|
||||
}.first.addr.ip_address
|
||||
|
||||
sh "hugo server --buildDrafts -w --bind #{ip} -b #{ip} --disableFastRender"
|
||||
|
|