Theme installed
This commit is contained in:
		
							parent
							
								
									8c90bb2dfc
								
							
						
					
					
						commit
						9f4d78baa2
					
				
					 135 changed files with 2650 additions and 269 deletions
				
			
		
							
								
								
									
										3
									
								
								templates/shortcodes/badges.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								templates/shortcodes/badges.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
<div class="badges center">
 | 
			
		||||
{{ body | markdown | replace(from="%20", to=" ") | safe }}
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										22
									
								
								templates/shortcodes/callout.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								templates/shortcodes/callout.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
{% if type == 'warning' %}
 | 
			
		||||
{% set img = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
 | 
			
		||||
    <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4m.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/>
 | 
			
		||||
  </svg>' %}
 | 
			
		||||
  {% elif type == 'alert'%}
 | 
			
		||||
    {% set img = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
 | 
			
		||||
        <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M4.5 7.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1z"/>
 | 
			
		||||
    </svg>' %}
 | 
			
		||||
   {% elif type == 'info' %}
 | 
			
		||||
   {% set img = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
 | 
			
		||||
    <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/>
 | 
			
		||||
  </svg>' %}
 | 
			
		||||
{% endif %}
 | 
			
		||||
<div class="co-container">
 | 
			
		||||
    <div class="callout {{ type }}">
 | 
			
		||||
        <span class="co-img">{{ img |safe }}</span>
 | 
			
		||||
        <span class="co-body">
 | 
			
		||||
            {{ body | markdown | safe}}
 | 
			
		||||
        </span>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								templates/shortcodes/mermaid.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								templates/shortcodes/mermaid.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
<pre class="mermaid">
 | 
			
		||||
{{ body | safe }}
 | 
			
		||||
</pre>
 | 
			
		||||
							
								
								
									
										11
									
								
								templates/shortcodes/skillcards.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								templates/shortcodes/skillcards.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
{% set raw = load_data(literal = body, format='toml') %}
 | 
			
		||||
{% set cards = raw.cards %}
 | 
			
		||||
<div class="cards-wrapper center">
 | 
			
		||||
    {% for card in cards %}
 | 
			
		||||
    <div class="panel">
 | 
			
		||||
        <div class="skillcard-icon skillcard-icon-{{card.icon}}"></div>
 | 
			
		||||
        <div class="skillcard-title"><strong>{{ card.title | safe }}</strong></div>
 | 
			
		||||
        <div class="skillcard-details">{{ card.details | markdown | safe }}</div>
 | 
			
		||||
    </div>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										12
									
								
								templates/shortcodes/timeline.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								templates/shortcodes/timeline.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
 | 
			
		||||
{% set dt = load_data(literal = body, format="json") %}
 | 
			
		||||
<div id="timeline-content">
 | 
			
		||||
  <ul class="timeline">
 | 
			
		||||
      {% for d in dt %}
 | 
			
		||||
    <li class="event" data-date="{{ d.date |safe }}">
 | 
			
		||||
      <h3>{{ d.title | markdown | safe}}</h3>
 | 
			
		||||
      <p>{{ d.body | safe }}</p>
 | 
			
		||||
    </li>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
  </ul>
 | 
			
		||||
</div>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue