#75 website improvements (May 2022)
Merged 2 years ago by polcak. Opened 2 years ago by rlafuente.

file modified
+1 -2
@@ -42,7 +42,7 @@ 

      "weba": "WebAudio",

      "webgl": "WebGL",

      "xr": "Web XR",

-     "nbs" : "Network Boundary Shield",

+     "nbs": "Network Boundary Shield",

      "pt2": "Performance Timeline (L2)",

  }

  
@@ -77,7 +77,6 @@ 

  

  env = jinja2.Environment(

      loader=jinja2.FileSystemLoader([TEMPLATES_PATH]),

-     extensions=["jinja2.ext.with_"],

      trim_blocks=True,

      lstrip_blocks=True,

  )

file modified
+3 -3
@@ -1,4 +1,4 @@ 

- pelican==4.6.0

- Markdown==3.3.4

- comment-parser==1.2.3

+ pelican>=4.6.0

+ Markdown>=3.3.4

+ comment-parser>=1.2.3

  jinja2>=3.0

@@ -638,6 +638,10 @@ 

    margin-top: calc(var(--mg-medium) * -1);

  }

  

+ .source-link {

+   margin-top: var(--mg-large);

+ }

+ 

  /* Blog and article page

  */

  

@@ -15,6 +15,8 @@ 

    </div>

  

    {# source link #}

-   {# <p><a href="{{ page.relPath }}{{ compound.sourceFileName }}{{ config.HTML_FILE_EXTENSION }}">{{ tr.gotoSourceCode }}</a></p> #}

+   <div class="source-link">

+   <p><a href="https://pagure.io/JShelter/webextension/blob/main/f/common/wrappingS-{{ page.slug|upper }}.js">See this wrapper's source code for more</a></p>

+   </div>

  </article>

  {% endblock %}

no initial comment

Metadata Update from @polcak:
- Pull-request tagged with: website

2 years ago

Pull-Request has been merged by polcak

2 years ago