mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 17:07:20 +08:00 
			
		
		
		
	Previously the podman-remote windows docs had no HTML titles This gives them the same titles as the equivalent Sphinx HTML pages Signed-off-by: Rob Cowsill <42620235+rcowsill@users.noreply.github.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
local List = require("pandoc.List")
 | 
						|
 | 
						|
function Meta(m)
 | 
						|
  -- Use pagetitle instead of title (prevents pandoc inserting a <H1> title)
 | 
						|
  m.pagetitle = m.title
 | 
						|
  m.title = nil
 | 
						|
 | 
						|
  if m.pagetitle ~= nil and m.pagetitle.t == "MetaInlines" then
 | 
						|
    -- Add suffix to match the Sphinx HTML documentation
 | 
						|
    List.extend(m.pagetitle, {pandoc.Str" \u{2014} Podman documentation"})
 | 
						|
  end
 | 
						|
 | 
						|
  return m
 | 
						|
end
 |