Is it's possible to make modular pug template in vibed?
    Steven Schveighoffer via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Aug  8 06:22:58 PDT 2017
    
    
  
On 8/8/17 9:10 AM, Suliman wrote:
> Yes, thanks what: extends layout mean?
It means that your final file will be layout.dt, but with the block 
statements replaced with the contents defined by the specific view file.
Think of it like an interface, where the "blocks" are function 
prototypes, and your specific view file is a class that implements the 
interface, where you implement the functions by defining the blocks.
-Steve
    
    
More information about the Digitalmars-d-learn
mailing list